diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-08-26 12:31:33 +0200 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-10-19 20:08:31 +0100 |
commit | 2b49ef0e0f653eec6a128050c12ae8f7d630b1af (patch) | |
tree | 913d27c148ee8ad650976197b0c2bd7cb6399cfa | |
parent | f7c616d2b95b807b0a4d1e1cb4b10421e135c785 (diff) |
sock: add missing format specifier to log_message()
-rw-r--r-- | src/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |