summaryrefslogtreecommitdiffstats
path: root/sbin/sysctl/pathconf.c
diff options
context:
space:
mode:
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 4b60ccf..8dcaf42 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':
OpenPOWER on IntegriCloud