diff options
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 2cb4cb6182..18cfea3248 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -503,7 +503,8 @@ static int spawn_dnsworker(void) { connection_t *conn; if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) { - log(LOG_ERR, "Couldn't construct socketpair: %s", strerror(errno)); + log(LOG_ERR, "Couldn't construct socketpair: %s", + tor_socket_strerror(tor_socket_errno(-1))); exit(1); } |