diff options
Diffstat (limited to 'games/random')
-rw-r--r-- | games/random/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/random/random.c b/games/random/random.c index 076990b..c3ba51c 100644 --- a/games/random/random.c +++ b/games/random/random.c @@ -67,7 +67,7 @@ main(argc, argv) char *ep; random_exit = unbuffer_output = 0; - while ((ch = getopt(argc, argv, "er")) != EOF) + while ((ch = getopt(argc, argv, "er")) != -1) switch (ch) { case 'e': random_exit = 1; |