summaryrefslogtreecommitdiff
path: root/distrib/crunch/crunchide/crunchide.c
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/crunch/crunchide/crunchide.c')
-rw-r--r--distrib/crunch/crunchide/crunchide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/crunch/crunchide/crunchide.c b/distrib/crunch/crunchide/crunchide.c
index 2b34454440a..6f3fc817faa 100644
--- a/distrib/crunch/crunchide/crunchide.c
+++ b/distrib/crunch/crunchide/crunchide.c
@@ -84,7 +84,7 @@ char **argv;
if(argc > 0) pname = argv[0];
- while ((ch = getopt(argc, argv, "k:f:")) != EOF)
+ while ((ch = getopt(argc, argv, "k:f:")) != -1)
switch(ch) {
case 'k':
add_to_keep_list(optarg);