diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/net/rcmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index 4004882deb..d10410b25a 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
| @@ -97,9 +97,8 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, | |||
| 97 | hints.ai_flags = AI_CANONNAME; | 97 | hints.ai_flags = AI_CANONNAME; |
| 98 | error = getaddrinfo(*ahost, pbuf, &hints, &res); | 98 | error = getaddrinfo(*ahost, pbuf, &hints, &res); |
| 99 | if (error) { | 99 | if (error) { |
| 100 | #if 0 | 100 | (void)fprintf(stderr, "rcmd: %s: %s\n", *ahost, |
| 101 | warnx("%s: %s", *ahost, gai_strerror(error)); | 101 | gai_strerror(error)); |
| 102 | #endif | ||
| 103 | return (-1); | 102 | return (-1); |
| 104 | } | 103 | } |
| 105 | if (res->ai_canonname) { | 104 | if (res->ai_canonname) { |
