commit | ae5e24d8678f1e3a60dde58d3382c5ba73d6bb27 | [log] [tgz] |
---|---|---|
author | ajs <ajs> | Fri Nov 19 23:43:10 2004 +0000 |
committer | ajs <ajs> | Fri Nov 19 23:43:10 2004 +0000 |
tree | fdc23e828988dd7a0c53941fe22a8fd9daa5f4cc | |
parent | ca35976927190883368ef3bd32bbf9f174575bd6 [diff] [blame] |
Fix previous change to use new function safe_strerror instead of strerror.
diff --git a/lib/sockopt.c b/lib/sockopt.c index f424f03..2afa3c8 100644 --- a/lib/sockopt.c +++ b/lib/sockopt.c
@@ -31,7 +31,7 @@ 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; }