diff options
Diffstat (limited to 'time/localtime.c')
-rw-r--r-- | time/localtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/time/localtime.c b/time/localtime.c index 8684a8a971..92dbfe0f8c 100644 --- a/time/localtime.c +++ b/time/localtime.c @@ -27,7 +27,7 @@ struct tm _tmbuf; struct tm * __localtime_r (const time_t *t, struct tm *tp) { - return __tz_convert (t, 1, tp); + return __tz_convert (*t, 1, tp); } weak_alias (__localtime_r, localtime_r) @@ -36,6 +36,6 @@ weak_alias (__localtime_r, localtime_r) struct tm * localtime (const time_t *t) { - return __tz_convert (t, 1, &_tmbuf); + return __tz_convert (*t, 1, &_tmbuf); } libc_hidden_def (localtime) |