mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-01 06:16:47 +00:00
lib: Convert sigevent.c to use new error-code-subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
3469901633
commit
ff9d9d5ba1
@ -329,7 +329,8 @@ static void trap_default_signals(void)
|
|||||||
}
|
}
|
||||||
if (sigaction(sigmap[i].sigs[j], &act, NULL)
|
if (sigaction(sigmap[i].sigs[j], &act, NULL)
|
||||||
< 0)
|
< 0)
|
||||||
zlog_warn(
|
flog_err(
|
||||||
|
LIB_ERR_SYSTEM_CALL,
|
||||||
"Unable to set signal handler for signal %d: %s",
|
"Unable to set signal handler for signal %d: %s",
|
||||||
sigmap[i].sigs[j],
|
sigmap[i].sigs[j],
|
||||||
safe_strerror(errno));
|
safe_strerror(errno));
|
||||||
|
Loading…
Reference in New Issue
Block a user