From 5fdd657b369aa2c08a8d1cfd12d5e23227d78c66 Mon Sep 17 00:00:00 2001 From: Douglas Date: Sun, 27 Nov 2016 12:13:31 +1100 Subject: [PATCH] Correct argument to __get_current_locale. Signed-off-by: Corinna Vinschen --- newlib/libc/locale/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index b7ced4d40..857282105 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -996,7 +996,7 @@ __locale_ctype_ptr_l (struct __locale_t *locale) const char * __locale_ctype_ptr (void) { - return __get_current_locale (_REENT)->ctype_ptr; + return __get_current_locale ()->ctype_ptr; } #ifndef _REENT_ONLY