diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/w/w.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index b02ff5a7..5d6054b 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -331,8 +331,7 @@ main(argc, argv) memmove(&in, hp->h_addr, sizeof(in)); p = inet_ntoa(in); - } else - herror("gethostbyname"); + } } if (x) { (void)snprintf(buf, sizeof(buf), "%s:%.*s", p, |