diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-08-09 00:59:16 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-08-09 00:59:34 +0300 |
commit | b9dab9f4c67471faf5c93726eb10573c2c398c51 (patch) | |
tree | be1ff1c86f5b777a53c7d76e57ae957f5e0d3a32 /newlib/libc/time | |
parent | fddc74d12bf7f765c04c3182a7237ecf23893d27 (diff) |
newlib: strftime: fix over-enthusiastic fix from 0283642f35ce
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/strftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c index 429ae99ac..9c884dca9 100644 --- a/newlib/libc/time/strftime.c +++ b/newlib/libc/time/strftime.c @@ -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 */ |