diff options
author | ajs <ajs> | 2004-11-19 23:43:10 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-11-19 23:43:10 +0000 |
commit | ae5e24d8678f1e3a60dde58d3382c5ba73d6bb27 (patch) | |
tree | fdc23e828988dd7a0c53941fe22a8fd9daa5f4cc | |
parent | ca35976927190883368ef3bd32bbf9f174575bd6 (diff) |
Fix previous change to use new function safe_strerror instead of strerror.
-rw-r--r-- | lib/sockopt.c | 2 |
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; } |