summaryrefslogtreecommitdiff
path: root/libc/unistd/getopt-susv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/getopt-susv3.c')
-rw-r--r--libc/unistd/getopt-susv3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c
index c53e2b089..d9ee18c43 100644
--- a/libc/unistd/getopt-susv3.c
+++ b/libc/unistd/getopt-susv3.c
@@ -87,7 +87,7 @@ int getopt(int argc, char * const argv[], const char *optstring)
#endif
retval = (unsigned char) *o; /* Avoid problems for char val of -1. */
- if ((*o == ':') || !(s = strchr(optstring, *o))) { /* Illegal option? */
+ if ((*o == ':') || !(s = __strchr(optstring, *o))) { /* Illegal option? */
s = illegal;
retval = '?';
goto BAD;