diff options
author | 2015-03-22 00:58:16 +0000 | |
---|---|---|
committer | 2015-03-22 00:58:16 +0000 | |
commit | 0791ac16ed58a49fe0e150e43dfac62e0e82f2e8 (patch) | |
tree | 0f2351c54fb8c5aebdd64f3ede5a0283d1ea56a7 /lib/libc/net/rcmd.c | |
parent | according to javad kouhi, freebsd pr #198612, vfork appeared first in bsd 3.0; (diff) | |
download | wireguard-openbsd-0791ac16ed58a49fe0e150e43dfac62e0e82f2e8.tar.xz wireguard-openbsd-0791ac16ed58a49fe0e150e43dfac62e0e82f2e8.zip |
unmute rcmd hostname lookup failure
ok millert@ jung@
Diffstat (limited to 'lib/libc/net/rcmd.c')
-rw-r--r-- | lib/libc/net/rcmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index 4004882debe..d10410b25a2 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -97,9 +97,8 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, hints.ai_flags = AI_CANONNAME; error = getaddrinfo(*ahost, pbuf, &hints, &res); if (error) { -#if 0 - warnx("%s: %s", *ahost, gai_strerror(error)); -#endif + (void)fprintf(stderr, "rcmd: %s: %s\n", *ahost, + gai_strerror(error)); return (-1); } if (res->ai_canonname) { |