mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
Fix previous change to use new function safe_strerror instead of strerror.
This commit is contained in:
parent
ca35976927
commit
ae5e24d867
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user