aboutsummaryrefslogtreecommitdiff
path: root/games/arithmetic
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-03-01 05:10:28 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-03-01 05:10:28 +0000
commit01f228ffbe35f4398445427162e9a8c0ccbb8112 (patch)
tree178aadb727a1e12c3ab25ebc4dfa83d753189f40 /games/arithmetic
parentffc82b0a70cb3a4952d29251c5685bacefbf1424 (diff)
Notes
Diffstat (limited to 'games/arithmetic')
-rw-r--r--games/arithmetic/arithmetic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c
index 40261d638b96..f668ff46d6bd 100644
--- a/games/arithmetic/arithmetic.c
+++ b/games/arithmetic/arithmetic.c
@@ -105,7 +105,7 @@ main(argc, argv)
int ch, cnt;
void intr();
- while ((ch = getopt(argc, argv, "r:o:")) != EOF)
+ while ((ch = getopt(argc, argv, "r:o:")) != -1)
switch(ch) {
case 'o': {
register char *p;