From 5937c873e6ed036d98493ceff8dd336a68fe792e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 5 Feb 2004 13:46:41 +0000 Subject: (human_time): Correct merge problem. --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-54-g00ecf