diff options
Diffstat (limited to 'games/piano/piano.c')
-rw-r--r-- | games/piano/piano.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/piano/piano.c b/games/piano/piano.c index 3c15495..8e16b3a 100644 --- a/games/piano/piano.c +++ b/games/piano/piano.c @@ -1,7 +1,7 @@ /* * piano.c - a piano emulator */ -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: piano.c,v 1.4 1997/02/22 14:46:57 peter Exp $"; #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -139,7 +139,7 @@ main(int argc, char *argv[]) extern int optind, opterr; int ch, ex, show_usage = 0; myname = argv[0]; - while ((ch = getopt(argc, argv, "-vi:")) != EOF) { + while ((ch = getopt(argc, argv, "-vi:")) != -1) { switch (ch) { default: case 'V': |