summaryrefslogtreecommitdiffstats
path: root/lib/sigevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sigevent.c')
-rw-r--r--lib/sigevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index a3d4219c..6e50d631 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -310,7 +310,7 @@ trap_default_signals(void)
}
if (sigaction(sigmap[i].sigs[j],&act,NULL) < 0)
zlog_warn("Unable to set signal handler for signal %d: %s",
- sigmap[i].sigs[j],safe_strerror(errno));
+ sigmap[i].sigs[j], errtoa(errno, 0).str);
}
}