diff options
author | Christian Hesse <mail@eworm.de> | 2014-10-01 13:17:57 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-10-01 13:17:57 +0200 |
commit | f76dae92a6b541853b0242c8792cd7ca0acf8c94 (patch) | |
tree | e3c6c0707b61ead6fd489a7b9c1f35bac1d59cfc | |
parent | a228ec427a4ad92300ffbf2263f28c1e1d6fc18d (diff) | |
download | netlink-notify-f76dae92a6b541853b0242c8792cd7ca0acf8c94.tar.gz netlink-notify-f76dae92a6b541853b0242c8792cd7ca0acf8c94.tar.zst |
print signal name
-rw-r--r-- | netlink-notify.c | 2 |
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++; } |