diff options
Diffstat (limited to 'lib/sockunion.c')
| -rw-r--r-- | lib/sockunion.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c index d76c407f55..bee82a067e 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -576,8 +576,7 @@ union sockunion *sockunion_getpeername(int fd) len = sizeof name; ret = getpeername(fd, (struct sockaddr *)&name, &len); if (ret < 0) { - flog_err(EC_LIB_SOCKET, - "Can't get remote address and port: %s", + flog_err(EC_LIB_SOCKET, "Can't get remote address and port: %s", safe_strerror(errno)); return NULL; } |
