diff options
Diffstat (limited to 'newlib/libc/stdlib/mblen.c')
-rw-r--r-- | newlib/libc/stdlib/mblen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/mblen.c b/newlib/libc/stdlib/mblen.c index 4d9ac38..f9fb464 100644 --- a/newlib/libc/stdlib/mblen.c +++ b/newlib/libc/stdlib/mblen.c @@ -60,7 +60,7 @@ _DEFUN (mblen, (s, n), _REENT_CHECK_MISC(reent); state = &(_REENT_MBLEN_STATE(reent)); - retval = __mbtowc (reent, NULL, s, n, __locale_charset (), state); + retval = __MBTOWC (reent, NULL, s, n, state); if (retval < 0) { state->__count = 0; |