Print signal number while dying

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2012-07-15 00:18:06 +02:00
parent d2f06a196b
commit 36329f9fa6
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ signal_fatal(int signum)
{ {
buffer_t buf; buffer_t buf;
backtrace_get(&buf); backtrace_get(&buf);
fatal("dumping backtrace\n%s", buf.s); fatal("signal %d, dumping backtrace\n%s", signum, buf.s);
} }
/** Function to exit on some signals. /** Function to exit on some signals.