diff options
Diffstat (limited to 'usr.bin/w/w.c')
-rw-r--r-- | usr.bin/w/w.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index f027997..251cde0 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -146,7 +146,7 @@ main(argc, argv) } memf = nlistf = NULL; - while ((ch = getopt(argc, argv, p)) != EOF) + while ((ch = getopt(argc, argv, p)) != -1) switch (ch) { case 'h': header = 0; |