diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-08-08 23:59:16 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-08-08 23:59:34 +0200 |
commit | b9dab9f4c67471faf5c93726eb10573c2c398c51 (patch) | |
tree | be1ff1c86f5b777a53c7d76e57ae957f5e0d3a32 /newlib/libc/time | |
parent | fddc74d12bf7f765c04c3182a7237ecf23893d27 (diff) | |
download | newlib-b9dab9f4c67471faf5c93726eb10573c2c398c51.zip newlib-b9dab9f4c67471faf5c93726eb10573c2c398c51.tar.gz newlib-b9dab9f4c67471faf5c93726eb10573c2c398c51.tar.bz2 |
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 429ae99..9c884dc 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 */ |