summaryrefslogtreecommitdiff
path: root/src/kmsg-syslogd.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-09-23 09:39:40 +0200
committerMichal Schmidt <mschmidt@redhat.com>2011-09-23 10:30:19 +0200
commit4e240ab0c93f4d454b065eef7074132969ac6f16 (patch)
tree9b25619b52b70a6ac2c78b34aaeda998fe36deb7 /src/kmsg-syslogd.c
parent764e9b5f073e1d5216de150045ec85475835fe3c (diff)
util: improve signal_to_string, signal_from_string
signal_to_string: Produce names for SIGRTMIN+n. Never give an "n/a" result. In the worst case give the number itself as a string. signal_from_string: Parse "RTMIN+n". Parse any valid signal number.
Diffstat (limited to 'src/kmsg-syslogd.c')
-rw-r--r--src/kmsg-syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmsg-syslogd.c b/src/kmsg-syslogd.c
index 83c2047a7a..0901a0e49b 100644
--- a/src/kmsg-syslogd.c
+++ b/src/kmsg-syslogd.c
@@ -379,7 +379,7 @@ static int process_event(Server *s, struct epoll_event *ev) {
return -errno;
}
- log_debug("Received SIG%s", strna(signal_to_string(sfsi.ssi_signo)));
+ log_debug("Received SIG%s", signal_to_string(sfsi.ssi_signo));
return 0;
} else {