diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2008-02-19 07:09:19 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2008-02-19 07:09:19 +0000 |
| commit | b7498df286c40ea0740282b9e663d224fec40dc8 (patch) | |
| tree | 578506eede3120635d7308f1fed95a1c6147a49a /games | |
| parent | 58eefce0e6d849ee941bbf456c0a91952458e7c4 (diff) | |
Notes
Diffstat (limited to 'games')
| -rw-r--r-- | games/fortune/strfile/strfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 69240d142cb1..790a064c46c0 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -270,7 +270,7 @@ char **argv; { int ch; - while ((ch = getopt(argc, argv, "Cc:iorsx")) != EOF) + while ((ch = getopt(argc, argv, "Cc:iorsx")) != -1) switch(ch) { case 'C': /* embedded comments */ Cflag++; |
