X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.c;h=b6ddc57193649f5e30a2e49e1ac47711347b803c;hb=762db91ef7d3b2eab00c23250ca61c7f814899c7;hp=1e6b4c65318752696584d03c92d0173a27f56e54;hpb=e76df30cb2af7a22e9c1dc91bb47a76c2fcbc43d;p=tinc diff --git a/src/net.c b/src/net.c index 1e6b4c65..b6ddc571 100644 --- a/src/net.c +++ b/src/net.c @@ -465,7 +465,7 @@ int main_loop(void) { #endif if(!event_loop()) { - logger(DEBUG_ALWAYS, LOG_ERR, "Error while waiting for input: %s", strerror(errno)); + logger(DEBUG_ALWAYS, LOG_ERR, "Error while waiting for input: %s", sockstrerror(sockerrno)); return 1; }