diff options
Diffstat (limited to 'usr.bin/whois')
-rw-r--r-- | usr.bin/whois/whois.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index ca832ae..a70301a 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -68,7 +68,7 @@ main(argc, argv) #endif host = NICHOST; - while ((ch = getopt(argc, argv, "h:")) != EOF) + while ((ch = getopt(argc, argv, "h:")) != -1) switch((char)ch) { case 'h': host = optarg; |