summaryrefslogtreecommitdiffstats
path: root/usr.bin/join/join.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/join/join.c')
-rw-r--r--usr.bin/join/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c
index bc1f074..7b1e779 100644
--- a/usr.bin/join/join.c
+++ b/usr.bin/join/join.c
@@ -122,7 +122,7 @@ main(argc, argv)
aflag = vflag = 0;
obsolete(argv);
- while ((ch = getopt(argc, argv, "\01a:e:j:1:2:o:t:v:")) != EOF) {
+ while ((ch = getopt(argc, argv, "\01a:e:j:1:2:o:t:v:")) != -1) {
switch (ch) {
case '\01': /* See comment in obsolete(). */
aflag = 1;
OpenPOWER on IntegriCloud