diff options
author | Jim Meyering <jim@meyering.net> | 2004-02-05 13:46:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-02-05 13:46:41 +0000 |
commit | 5937c873e6ed036d98493ceff8dd336a68fe792e (patch) | |
tree | 9e4c3fdeacb6c796d900410716b8663ac4f41d15 | |
parent | 8b2ed3ed9505cee5df8c63d6b009653df25633f6 (diff) | |
download | coreutils-5937c873e6ed036d98493ceff8dd336a68fe792e.tar.xz |
(human_time): Correct merge problem.
-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) |