summaryrefslogtreecommitdiff
path: root/libc/unistd/getsubopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/getsubopt.c')
-rw-r--r--libc/unistd/getsubopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/getsubopt.c b/libc/unistd/getsubopt.c
index 2759a6d25..bebfbc4ed 100644
--- a/libc/unistd/getsubopt.c
+++ b/libc/unistd/getsubopt.c
@@ -50,7 +50,7 @@ int getsubopt(char **optionp, char *const *tokens, char **valuep)
/* Try to match the characters between *OPTIONP and VSTART against
one of the TOKENS. */
for (cnt = 0; tokens[cnt] != NULL; ++cnt)
- if (memcmp (*optionp, tokens[cnt], vstart - *optionp) == 0
+ if (__memcmp (*optionp, tokens[cnt], vstart - *optionp) == 0
&& tokens[cnt][vstart - *optionp] == '\0')
{
/* We found the current option in TOKENS. */