summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/finger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c
index 9235d13..7e7443f 100644
--- a/usr.bin/finger/finger.c
+++ b/usr.bin/finger/finger.c
@@ -103,7 +103,7 @@ option(argc, argv)
optind = 1; /* reset getopt */
- while ((ch = getopt(argc, argv, "lmpshoT")) != EOF)
+ while ((ch = getopt(argc, argv, "lmpshoT")) != -1)
switch(ch) {
case 'l':
lflag = 1; /* long format */
OpenPOWER on IntegriCloud