diff options
Diffstat (limited to 'games/morse/morse.c')
-rw-r--r-- | games/morse/morse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/morse/morse.c b/games/morse/morse.c index 8e36af890cd..26eb4c7a996 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -107,7 +107,7 @@ main(argc, argv) setegid(getgid()); setgid(getgid()); - while ((ch = getopt(argc, argv, "s")) != EOF) + while ((ch = getopt(argc, argv, "s")) != -1) switch((char)ch) { case 's': sflag = 1; |