summaryrefslogtreecommitdiffhomepage
path: root/src/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sock.c')
-rw-r--r--src/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sock.c b/src/sock.c
index 983c4ea..28a7f88 100644
--- a/src/sock.c
+++ b/src/sock.c
@@ -68,7 +68,7 @@ bind_socket (int sockfd, const char *addr, int family)
n = getaddrinfo (addr, NULL, &hints, &res);
if (n != 0) {
log_message (LOG_INFO,
- "bind_socket: getaddrinfo failed for %s: ", addr, get_gai_error (n));
+ "bind_socket: getaddrinfo failed for %s: %s", addr, get_gai_error (n));
return -1;
}