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