diff options
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c index 15ebded3e..527ccf2fe 100644 --- a/src/stat.c +++ b/src/stat.c @@ -333,7 +333,7 @@ human_time (time_t t, int t_ns) (INT_STRLEN_BOUND (int) /* YYYY */ + 1 /* because YYYY might equal INT_MAX + 1900 */ + sizeof "-MM-DD HH:MM:SS.NNNNNNNNN +ZZZZ"))]; - struct tm const *tm = localtime (t); + struct tm const *tm = localtime (&t); if (tm == NULL) return (TYPE_SIGNED (time_t) ? imaxtostr (t, str) |