lib: Convert sigevent.c to use new error-code-subsystem

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-08-20 10:33:32 -04:00 committed by Quentin Young
parent 3469901633
commit ff9d9d5ba1

View File

@ -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));