summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockopt.c b/lib/sockopt.c
index f424f03e..2afa3c80 100644
--- a/lib/sockopt.c
+++ b/lib/sockopt.c
@@ -31,7 +31,7 @@ setsockopt_so_recvbuf (int sock, int size)
if ( (ret = setsockopt (sock, SOL_SOCKET, SO_RCVBUF, (char *)
&size, sizeof (int))) < 0)
zlog_err ("fd %d: can't setsockopt SO_RCVBUF to %d: %s",
- sock,size,strerror(errno));
+ sock,size,safe_strerror(errno));
return ret;
}