diff options
Diffstat (limited to 'usr.sbin/sysctl/pathconf.c')
-rw-r--r-- | usr.sbin/sysctl/pathconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysctl/pathconf.c b/usr.sbin/sysctl/pathconf.c index 4b60ccf..8dcaf42 100644 --- a/usr.sbin/sysctl/pathconf.c +++ b/usr.sbin/sysctl/pathconf.c @@ -85,7 +85,7 @@ main(argc, argv) char *path; int ch; - while ((ch = getopt(argc, argv, "Aan")) != EOF) { + while ((ch = getopt(argc, argv, "Aan")) != -1) { switch (ch) { case 'A': |