From: Stelian Pop Date: Wed, 11 Apr 2001 15:24:03 +0000 (+0000) Subject: Debug message (print signal number when caught) X-Git-Tag: release_0_4b22~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fbcd1b549f547558a95ca45dc3f2b50c21f81921;p=dump.git Debug message (print signal number when caught) --- diff --git a/dump/main.c b/dump/main.c index 3f114c9..13d15be 100644 --- a/dump/main.c +++ b/dump/main.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.43 2001/04/10 13:42:22 stelian Exp $"; + "$Id: main.c,v 1.44 2001/04/11 15:24:03 stelian Exp $"; #endif /* not lint */ #include @@ -917,7 +917,7 @@ sig(int signo) case SIGTRAP: if (pipeout) quit("Signal on pipe: cannot recover\n"); - msg("Rewriting attempted as response to unknown signal.\n"); + msg("Rewriting attempted as response to unknown signal: %d.\n", signo); (void)fflush(stderr); (void)fflush(stdout); close_rewind();