Commit Diff


commit - 827cc37cff5940d529ab4fb75fc206f7db94adeb
commit + d0071d8321dc1e718a8146a888db155d1dc24be1
blob - 81064e7e8fa01aa4cf0308bda9641a48f3ef3ca0
blob + 489547e4e88867cffba3c784d1f84f3bf83df60e
--- log.c
+++ log.c
@@ -126,7 +126,8 @@ vlog(int priority, struct client *c,
 		    sbuf, sizeof(sbuf),
 		    NI_NUMERICHOST | NI_NUMERICSERV);
 		if (ec != 0)
-			fatal("getnameinfo: %s", gai_strerror(ec));
+			fatal("getnameinfo: %s: %s",
+			    gai_strerror(ec), strerror(errno));
 	}
 
 	if (vasprintf(&fmted, fmt, ap) == -1)