summaryrefslogtreecommitdiffstats
path: root/usr.bin/biff/biff.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/biff/biff.c')
-rw-r--r--usr.bin/biff/biff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index 8d816bf..4d59650 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -61,7 +61,7 @@ main(argc, argv)
char *name;
- while ((ch = getopt(argc, argv, "")) != EOF)
+ while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
case '?':
default:
OpenPOWER on IntegriCloud