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 c8677ebaa..dc9d81c35 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -127,7 +127,7 @@ static const char *human_time(time_t t) | |||
127 | /*static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")] ALIGN1;*/ | 127 | /*static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")] ALIGN1;*/ |
128 | #define buf bb_common_bufsiz1 | 128 | #define buf bb_common_bufsiz1 |
129 | 129 | ||
130 | strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S.000000000", localtime(&t)); | 130 | strcpy(strftime_YYYYMMDDHHMMSS(buf, sizeof(buf), &t), ".000000000"); |
131 | return buf; | 131 | return buf; |
132 | #undef buf | 132 | #undef buf |
133 | } | 133 | } |