diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 836f4d665..cc3789e85 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -656,7 +656,8 @@ static int do_main_loop(void) { /* let the program survive things like ^z */ if(tor_socket_errno(-1) != EINTR) { log_fn(LOG_ERR,"poll failed: %s [%d]", - strerror(tor_socket_errno(-1)), tor_socket_errno(-1)); + tor_socket_strerror(tor_socket_errno(-1)), + tor_socket_errno(-1)); return -1; } else { log_fn(LOG_DEBUG,"poll interrupted."); |