summaryrefslogtreecommitdiff
path: root/libc/string/generic/strcspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strcspn.c')
-rw-r--r--libc/string/generic/strcspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/strcspn.c b/libc/string/generic/strcspn.c
index c41132cf6..a10912e25 100644
--- a/libc/string/generic/strcspn.c
+++ b/libc/string/generic/strcspn.c
@@ -27,7 +27,7 @@ size_t attribute_hidden __strcspn (const char *s, const char *reject)
size_t count = 0;
while (*s != '\0')
- if (strchr (reject, *s++) == NULL)
+ if (__strchr (reject, *s++) == NULL)
++count;
else
return count;