summaryrefslogtreecommitdiff
path: root/sbin/sysctl/pathconf.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-31 05:11:47 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-31 05:11:47 +0000
commit6c3f552a31dd0a0c8c59a028fd9bc507d43ec5cc (patch)
tree9dcc58d3fb5e1644413565971c98196650ef87d3 /sbin/sysctl/pathconf.c
parent44ee97a91b095311b8703857d54df336354236a0 (diff)
Notes
Diffstat (limited to 'sbin/sysctl/pathconf.c')
-rw-r--r--sbin/sysctl/pathconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/sysctl/pathconf.c b/sbin/sysctl/pathconf.c
index 4b60ccfb1c09..8dcaf427114c 100644
--- a/sbin/sysctl/pathconf.c
+++ b/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':