diff options
Diffstat (limited to 'usr.bin/last/last.c')
-rw-r--r-- | usr.bin/last/last.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 4a378f6..9dea466 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -104,7 +104,7 @@ main(argc, argv) (void) setlocale(LC_TIME, ""); maxrec = -1; - while ((ch = getopt(argc, argv, "0123456789f:h:t:")) != EOF) + while ((ch = getopt(argc, argv, "0123456789f:h:t:")) != -1) switch (ch) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': |