summaryrefslogtreecommitdiffstats
path: root/usr.bin/apply/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/apply/apply.c')
-rw-r--r--usr.bin/apply/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c
index 843488f..78e9062 100644
--- a/usr.bin/apply/apply.c
+++ b/usr.bin/apply/apply.c
@@ -63,7 +63,7 @@ main(argc, argv)
debug = 0;
magic = '%'; /* Default magic char is `%'. */
nargs = -1;
- while ((ch = getopt(argc, argv, "a:d0123456789")) != EOF)
+ while ((ch = getopt(argc, argv, "a:d0123456789")) != -1)
switch (ch) {
case 'a':
if (optarg[1] != '\0')
OpenPOWER on IntegriCloud