diff options
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r-- | coreutils/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c index 69a8a1a36..0d13fdf65 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -131,7 +131,7 @@ static const char *human_time(time_t t) | |||
131 | /*static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")] ALIGN1;*/ | 131 | /*static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")] ALIGN1;*/ |
132 | #define buf bb_common_bufsiz1 | 132 | #define buf bb_common_bufsiz1 |
133 | 133 | ||
134 | strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S.000000000", localtime(&t)); | 134 | strcpy(strftime_YYYYMMDDHHMMSS(buf, sizeof(buf), &t), ".000000000"); |
135 | return buf; | 135 | return buf; |
136 | #undef buf | 136 | #undef buf |
137 | } | 137 | } |