From 048c0e46d4bf45ca9156d2ac5e2c8f53aa584898 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 5 Oct 2011 14:47:09 -0400 Subject: [PATCH] e2fsck: make e2fsck sigcatcher use SIGCHLD rather than SIGCLD SIGCHLD is more portable than SIGCLD, which is a Linux specific thing Signed-off-by: "Theodore Ts'o" --- e2fsck/sigcatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2fsck/sigcatcher.c b/e2fsck/sigcatcher.c index 6591aa9..10b9328 100644 --- 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 == SIGCHLD) fprintf(stderr, "si_code=%s ", lookup_table_fallback(siginfo->si_code, sigcld_code_table)); -- 1.8.3.1