diff options
Diffstat (limited to 'games/fortune/strfile/strfile.c')
-rw-r--r-- | games/fortune/strfile/strfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 6c4b74bb411..48ee4bfe375 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -272,7 +272,7 @@ char **argv; extern int optind; int ch; - while ((ch = getopt(argc, argv, "c:iorsx")) != EOF) + while ((ch = getopt(argc, argv, "c:iorsx")) != -1) switch(ch) { case 'c': /* new delimiting char */ Delimch = *optarg; |