diff options
Diffstat (limited to 'stdlib/wcstombs.c')
-rw-r--r-- | stdlib/wcstombs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/wcstombs.c b/stdlib/wcstombs.c index 6518308..73f015b 100644 --- a/stdlib/wcstombs.c +++ b/stdlib/wcstombs.c @@ -36,7 +36,7 @@ wcstombs (char *s, const wchar_t *pwcs, size_t n) mbstate_t save_shift = __no_r_state; size_t written; - written = mbsrtowcs (pwcs, s, n, &__no_r_state); + written = wcsrtombs (s, &pwcs, n, &__no_r_state); /* Restore the old shift state. */ __no_r_state = save_shift; |