From 09c866e34dd6f1725ff5a2354017c13485c2c755 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 6 Aug 2018 16:36:50 +0000 Subject: *: rename ferr_zlog -> flog_err_sys Signed-off-by: Quentin Young --- pimd/pim_sock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pimd/pim_sock.c') 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", -- cgit v1.2.3