summaryrefslogtreecommitdiff
path: root/stdlib/mbtowc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/mbtowc.c')
-rw-r--r--stdlib/mbtowc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c
index c340dd72a6..1f5d45dc62 100644
--- a/stdlib/mbtowc.c
+++ b/stdlib/mbtowc.c
@@ -45,7 +45,7 @@ mbtowc (wchar_t *pwc, const char *s, size_t n)
if (s == NULL)
return 1;
- result = mbrtowc (pwc, s, n, &__no_r_state);
+ result = __mbrtowc (pwc, s, n, &__no_r_state);
/* The `mbrtowc' functions tell us more than we need. Fold the -1
and -2 result into -1. */