Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ba6f5
)
e2fsck: make e2fsck sigcatcher use SIGCHLD rather than SIGCLD
author
Theodore Ts'o
<tytso@mit.edu>
Wed, 5 Oct 2011 18:47:09 +0000
(14:47 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 5 Oct 2011 18:47:09 +0000
(14:47 -0400)
SIGCHLD is more portable than SIGCLD, which is a Linux specific thing
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/sigcatcher.c
patch
|
blob
|
history
diff --git
a/e2fsck/sigcatcher.c
b/e2fsck/sigcatcher.c
index
6591aa9
..
10b9328
100644
(file)
--- a/
e2fsck/sigcatcher.c
+++ b/
e2fsck/sigcatcher.c
@@
-356,7
+356,7
@@
static void die_signal_handler(int signum, siginfo_t *siginfo, void *context)
fprintf(stderr, "si_code=%s ",
lookup_table_fallback(siginfo->si_code,
sigbus_code_table));
- else if (signum == SIGCLD)
+ else if (signum == SIGC
H
LD)
fprintf(stderr, "si_code=%s ",
lookup_table_fallback(siginfo->si_code,
sigcld_code_table));