diff options
author | June McEnroe <june@causal.agency> | 2023-10-08 16:54:31 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-10-08 16:54:31 -0400 |
commit | e9f93c6ff47bb5d765fecd8cfe056a170428457b (patch) | |
tree | de7aa086bc9768d90c3fd2e0892434cd77ce9fea | |
parent | Don't LOG_PID (diff) | |
download | kitd-e9f93c6ff47bb5d765fecd8cfe056a170428457b.tar.gz kitd-e9f93c6ff47bb5d765fecd8cfe056a170428457b.zip |
Use strsignal
Diffstat (limited to '')
-rw-r--r-- | kitd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kitd.c b/kitd.c index 633032c..91a24ed 100644 --- a/kitd.c +++ b/kitd.c @@ -223,7 +223,7 @@ int main(int argc, char *argv[]) { } else if (WIFSIGNALED(status)) { int sig = WTERMSIG(status); if (sig != SIGTERM) { - syslog(LOG_NOTICE, "child got signal %s", sys_signame[sig]); + syslog(LOG_NOTICE, "child got %s", strsignal(sig)); } } |