diff options
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r-- | usr.bin/dirname/dirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c index 9698ba4..c6ca326 100644 --- a/usr.bin/dirname/dirname.c +++ b/usr.bin/dirname/dirname.c @@ -55,7 +55,7 @@ main(argc, argv) char *p; int ch; - while ((ch = getopt(argc, argv, "")) != EOF) + while ((ch = getopt(argc, argv, "")) != -1) switch(ch) { case '?': default: |