summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/lib_strcspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_strcspn.c b/nuttx/lib/lib_strcspn.c
index 92a60fc0b..1c18eb122 100644
--- a/nuttx/lib/lib_strcspn.c
+++ b/nuttx/lib/lib_strcspn.c
@@ -58,7 +58,7 @@
*
****************************************************************************/
-size_t strspn(const char *s, const char *reject)
+size_t strcspn(const char *s, const char *reject)
{
size_t i;
for (i = 0; s[i] && strchr(reject, s[i]) == NULL; i++);