summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netlink-notify.c2
1 files changed, 1 insertions, 1 deletions
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++;
}