summaryrefslogtreecommitdiffstats
path: root/testing/monkey/strsignal.patch
blob: 6908fe6b3aaa191a6f71c93d0f775fcc21b4c21e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./src/mk_signals.c.orig
+++ ./src/mk_signals.c
@@ -87,7 +87,7 @@
         mk_utils_stacktrace();
 #endif
         mk_err("%s (%d), code=%d, addr=%p",
-               sys_siglist[signo], signo, si->si_code, si->si_addr);
+               strsignal(signo), signo, si->si_code, si->si_addr);
         pthread_exit(NULL);
     default:
         /* let the kernel handle it */