summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/signal/psiginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/psiginfo.c b/src/signal/psiginfo.c
index fa46d2bf..57be34cd 100644
--- a/src/signal/psiginfo.c
+++ b/src/signal/psiginfo.c
@@ -2,7 +2,7 @@
#include <string.h>
#include <signal.h>
-void psiginfo(siginfo_t *si, const char *msg)
+void psiginfo(const siginfo_t *si, const char *msg)
{
char *s = strsignal(si->si_signo);
if (msg) fprintf(stderr, "%s: %s\n", msg, s);