summaryrefslogtreecommitdiffstats
path: root/testing/monkey/strsignal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/monkey/strsignal.patch')
-rw-r--r--testing/monkey/strsignal.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/monkey/strsignal.patch b/testing/monkey/strsignal.patch
new file mode 100644
index 000000000..6908fe6b3
--- /dev/null
+++ b/testing/monkey/strsignal.patch
@@ -0,0 +1,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 */
+