summaryrefslogtreecommitdiffstats
path: root/libc/unistd/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/getopt.c')
-rw-r--r--libc/unistd/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c
index 216e0575a..fc3a013c2 100644
--- a/libc/unistd/getopt.c
+++ b/libc/unistd/getopt.c
@@ -247,7 +247,7 @@ static const char *_getopt_initialize (int argc, char *const * argv, const char
ordering = REQUIRE_ORDER;
++optstring;
}
- else if (getenv ("POSIXLY_CORRECT") != NULL)
+ else if (__getenv ("POSIXLY_CORRECT") != NULL)
ordering = REQUIRE_ORDER;
else
ordering = PERMUTE;