From 36329f9fa610156c51440eefde26d2c72cf9826d Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 15 Jul 2012 00:18:06 +0200 Subject: [PATCH] Print signal number while dying Signed-off-by: Uli Schlachter --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index 69eda8068..d0f498d9c 100644 --- a/awesome.c +++ b/awesome.c @@ -256,7 +256,7 @@ signal_fatal(int signum) { buffer_t 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.