newlib: newlocale: fix typo rendering ctype_ptr invalid

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-08-07 15:23:19 +02:00
parent 0283642f35
commit ccea3b45b0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ _newlocale_r (struct _reent *p, int category_mask, const char *locale,
tmp_locale.wctomb = base->wctomb;
tmp_locale.mbtowc = base->mbtowc;
tmp_locale.cjk_lang = base->cjk_lang;
tmp_locale.ctype_ptr - base->ctype_ptr;
tmp_locale.ctype_ptr = base->ctype_ptr;
}
#ifdef __HAVE_LOCALE_INFO__
/* Mark the values as "has still to be copied". We do this in