diff options
Diffstat (limited to 'pimd/pim_sock.c')
-rw-r--r-- | pimd/pim_sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c index 2a93b4ad7..976bf3d10 100644 --- a/pimd/pim_sock.c +++ b/pimd/pim_sock.c @@ -76,9 +76,9 @@ void pim_socket_ip_hdr(int fd) __PRETTY_FUNCTION__, safe_strerror(errno)); if (setsockopt(fd, IPPROTO_IP, IP_HDRINCL, &on, sizeof(on))) - flog_err(LIB_ERR_SOCKET, - "%s: Could not turn on IP_HDRINCL option: %s", - __PRETTY_FUNCTION__, safe_strerror(errno)); + flog_err_sys(LIB_ERR_SOCKET, + "%s: Could not turn on IP_HDRINCL option: %s", + __PRETTY_FUNCTION__, safe_strerror(errno)); if (pimd_privs.change(ZPRIVS_LOWER)) flog_err(LIB_ERR_PRIVILEGES, "%s: could not lower privs, %s", |