diff options
author | deraadt <deraadt@openbsd.org> | 2006-03-12 00:29:34 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2006-03-12 00:29:34 +0000 |
commit | 96c0adf241a82064daae57dcb5e1cd3fe47e8840 (patch) | |
tree | 52588676eef066e141f4faf39eda53d9b8abf26b /usr.bin/mklocale | |
parent | might as well make ksh_getopt() match real getopt(), ie. get rid of that (diff) | |
download | wireguard-openbsd-96c0adf241a82064daae57dcb5e1cd3fe47e8840.tar.xz wireguard-openbsd-96c0adf241a82064daae57dcb5e1cd3fe47e8840.zip |
more getopt() EOF crud; adobriyan@gmail
Diffstat (limited to 'usr.bin/mklocale')
-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 36cf0fc25b5..e3c81d70c5e 100644 --- a/usr.bin/mklocale/yacc.y +++ b/usr.bin/mklocale/yacc.y @@ -245,7 +245,7 @@ main(int ac, char *av[]) extern char *optarg; extern int optind; - while ((x = getopt(ac, av, "do:")) != EOF) { + while ((x = getopt(ac, av, "do:")) != -1) { switch(x) { case 'd': debug = 1; |