summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-08-26 12:31:33 +0200
committerrofl0r <rofl0r@users.noreply.github.com>2020-10-19 20:08:31 +0100
commit2b49ef0e0f653eec6a128050c12ae8f7d630b1af (patch)
tree913d27c148ee8ad650976197b0c2bd7cb6399cfa
parentf7c616d2b95b807b0a4d1e1cb4b10421e135c785 (diff)
sock: add missing format specifier to log_message()
-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;
}