newlib: strftime: fix over-enthusiastic fix from 0283642f35

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-08-08 23:59:16 +02:00
parent fddc74d12b
commit b9dab9f4c6
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,8 @@ locale, hard-coding the "C" locale settings.
*len_ret = 0;
return buf;
}
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x))
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x, \
&ctloclen))
# endif
#endif /* MAKE_WCSFTIME */