summaryrefslogtreecommitdiff
path: root/pimd/pim_igmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_igmp.c')
-rw-r--r--pimd/pim_igmp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c
index c137fc1f6a..270f1e3f27 100644
--- a/pimd/pim_igmp.c
+++ b/pimd/pim_igmp.c
@@ -97,9 +97,10 @@ static int igmp_sock_open(struct in_addr ifaddr, struct interface *ifp,
}
if (!join) {
- flog_err(LIB_ERR_SOCKET,
- "IGMP socket fd=%d could not join any group on interface address %s",
- fd, inet_ntoa(ifaddr));
+ flog_err_sys(
+ LIB_ERR_SOCKET,
+ "IGMP socket fd=%d could not join any group on interface address %s",
+ fd, inet_ntoa(ifaddr));
close(fd);
fd = -1;
}