about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kitd.c2
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));
 				}
 			}