about summary refs log tree commit diff
path: root/stdlib/mbstowcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/mbstowcs.c')
-rw-r--r--stdlib/mbstowcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/mbstowcs.c b/stdlib/mbstowcs.c
index da3ae6b19d..1b380308d6 100644
--- a/stdlib/mbstowcs.c
+++ b/stdlib/mbstowcs.c
@@ -36,7 +36,7 @@ mbstowcs (wchar_t *pwcs, const char *s, size_t n)
   mbstate_t save_shift = __no_r_state;
   size_t written;
 
-  written = mbsrtowcs (pwcs, &s, n, &__no_r_state);
+  written = __mbsrtowcs (pwcs, &s, n, &__no_r_state);
 
   /* Restore the old shift state.  */
   __no_r_state = save_shift;