From fbcd1b549f547558a95ca45dc3f2b50c21f81921 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Wed, 11 Apr 2001 15:24:03 +0000 Subject: [PATCH] Debug message (print signal number when caught) --- dump/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5