summaryrefslogtreecommitdiff
path: root/lib/sigevent.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-20 10:33:32 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:50:58 +0000
commitff9d9d5ba1acf0559bed1e8977147f541b0010ae (patch)
treed01b7f2554afe9c1f34d56be283b3a9dfe658161 /lib/sigevent.c
parent3469901633595a1dd1761fd4f0742dcf5615568b (diff)
lib: Convert sigevent.c to use new error-code-subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sigevent.c')
-rw-r--r--lib/sigevent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index 0346027935..115781af5c 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -329,7 +329,8 @@ static void trap_default_signals(void)
}
if (sigaction(sigmap[i].sigs[j], &act, NULL)
< 0)
- zlog_warn(
+ flog_err(
+ LIB_ERR_SYSTEM_CALL,
"Unable to set signal handler for signal %d: %s",
sigmap[i].sigs[j],
safe_strerror(errno));