about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-08 16:54:31 -0400
committerJune McEnroe <june@causal.agency>2023-10-08 16:54:31 -0400
commite9f93c6ff47bb5d765fecd8cfe056a170428457b (patch)
treede7aa086bc9768d90c3fd2e0892434cd77ce9fea
parentDon't LOG_PID (diff)
downloadkitd-e9f93c6ff47bb5d765fecd8cfe056a170428457b.tar.gz
kitd-e9f93c6ff47bb5d765fecd8cfe056a170428457b.zip
Use strsignal
-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));
 				}
 			}
 
e 2019-12-20Respect mailmap in gl pretty formatJune McEnroe 2019-12-20Set LANG in cgit filtersJune McEnroe 2019-12-20Source .editrc before applying -v or -eJune McEnroe 2019-12-20Disable signing commitsJune McEnroe 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe