diff options
Diffstat (limited to 'pimd/pim_str.c')
-rw-r--r-- | pimd/pim_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_str.c b/pimd/pim_str.c index 7dce7a85..af5a184d 100644 --- a/pimd/pim_str.c +++ b/pimd/pim_str.c @@ -37,7 +37,7 @@ void pim_inet4_dump(const char *onfail, struct in_addr addr, char *buf, int buf_ if (!inet_ntop(AF_INET, &addr, buf, buf_size)) { int e = errno; zlog_warn("pim_inet4_dump: inet_ntop(AF_INET,buf_size=%d): errno=%d: %s", - buf_size, e, strerror(e)); + buf_size, e, safe_strerror(e)); if (onfail) snprintf(buf, buf_size, "%s", onfail); } |