diff options
author | kevlo <kevlo@FreeBSD.org> | 2007-02-06 08:48:28 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2007-02-06 08:48:28 +0000 |
commit | 5a57d3e796ffd97cbe691cc76f89dde9f18d3ba7 (patch) | |
tree | b760551e3d33fadb07d26db7ad8ba4be639196c8 /usr.bin | |
parent | 3a4cc1b454c5ab12ed138c2d9e5d2f4653369cef (diff) | |
download | FreeBSD-src-5a57d3e796ffd97cbe691cc76f89dde9f18d3ba7.zip FreeBSD-src-5a57d3e796ffd97cbe691cc76f89dde9f18d3ba7.tar.gz |
getopt(3) returns -1, not EOF.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mklocale/yacc.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y index a41d02e..84149f0 100644 --- a/usr.bin/mklocale/yacc.y +++ b/usr.bin/mklocale/yacc.y @@ -227,7 +227,7 @@ main(int ac, char *av[]) fp = stdout; - while ((x = getopt(ac, av, "do:")) != EOF) { + while ((x = getopt(ac, av, "do:")) != -1) { switch(x) { case 'd': debug = 1; |