aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/mblen_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/mblen_r.c')
-rw-r--r--newlib/libc/stdlib/mblen_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/mblen_r.c b/newlib/libc/stdlib/mblen_r.c
index c3b5964..9c1533e 100644
--- a/newlib/libc/stdlib/mblen_r.c
+++ b/newlib/libc/stdlib/mblen_r.c
@@ -57,7 +57,7 @@ _DEFUN (_mblen_r, (r, s, n, state),
{
#ifdef _MB_CAPABLE
int retval;
- retval = __mbtowc (r, NULL, s, n, __locale_charset (), state);
+ retval = __MBTOWC (r, NULL, s, n, state);
if (retval < 0)
{