summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/m4/main.c')
-rw-r--r--usr.bin/m4/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 395e04d..ca42301 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -160,7 +160,7 @@ main(argc,argv)
initkwds();
- while ((c = getopt(argc, argv, "tD:U:o:")) != EOF)
+ while ((c = getopt(argc, argv, "tD:U:o:")) != -1)
switch(c) {
case 'D': /* define something..*/
OpenPOWER on IntegriCloud