diff options
Diffstat (limited to 'games/primes')
-rw-r--r-- | games/primes/primes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/primes/primes.c b/games/primes/primes.c index f174e90..c2e0702 100644 --- a/games/primes/primes.c +++ b/games/primes/primes.c @@ -115,7 +115,7 @@ main(argc, argv) int ch; char *p; - while ((ch = getopt(argc, argv, "")) != EOF) + while ((ch = getopt(argc, argv, "")) != -1) switch (ch) { case '?': default: |