diff options
Diffstat (limited to 'src/shared/socket-util.c')
-rw-r--r-- | src/shared/socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/socket-util.c b/src/shared/socket-util.c index 6ef68fce09..0bb34f7826 100644 --- a/src/shared/socket-util.c +++ b/src/shared/socket-util.c @@ -641,7 +641,7 @@ int socknameinfo_pretty(union sockaddr_union *sa, socklen_t salen, char **_ret) return r; } - log_debug("getnameinfo(%s) failed: %s", ret, strerror(saved_errno)); + log_debug_errno(saved_errno, "getnameinfo(%s) failed: %m", ret); } else { ret = strdup(host); if (!ret) |