From f76dae92a6b541853b0242c8792cd7ca0acf8c94 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 1 Oct 2014 13:17:57 +0200 Subject: print signal name --- netlink-notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlink-notify.c b/netlink-notify.c index ef8a8be..c51a5cd 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -444,7 +444,7 @@ out: /*** received_signal ***/ void received_signal(int signal) { if (verbose > 0) - printf("%s: Received signal: %d\n", program, signal); + printf("%s: Received signal: %s\n", program, strsignal(signal)); doexit++; } -- cgit v1.2.3-70-g09d2