diff options
Diffstat (limited to 'games/quiz/quiz.c')
-rw-r--r-- | games/quiz/quiz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c index dba39fd27f8..bbd14de48a6 100644 --- a/games/quiz/quiz.c +++ b/games/quiz/quiz.c @@ -89,7 +89,7 @@ main(argc, argv) setgid(getgid()); indexfile = _PATH_QUIZIDX; - while ((ch = getopt(argc, argv, "i:t")) != EOF) + while ((ch = getopt(argc, argv, "i:t")) != -1) switch(ch) { case 'i': indexfile = optarg; |