diff options
Diffstat (limited to 'archival/ar.c')
-rw-r--r-- | archival/ar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/ar.c b/archival/ar.c index 71f949e79..320cbae72 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -196,9 +196,10 @@ static int write_ar_archive(archive_handle_t *handle) | |||
196 | 196 | ||
197 | static void FAST_FUNC header_verbose_list_ar(const file_header_t *file_header) | 197 | static void FAST_FUNC header_verbose_list_ar(const file_header_t *file_header) |
198 | { | 198 | { |
199 | const char *mode = bb_mode_string(file_header->mode); | 199 | char mode[12]; |
200 | char *mtime; | 200 | char *mtime; |
201 | 201 | ||
202 | bb_mode_string(mode, file_header->mode); | ||
202 | mtime = ctime(&file_header->mtime); | 203 | mtime = ctime(&file_header->mtime); |
203 | mtime[16] = ' '; | 204 | mtime[16] = ' '; |
204 | memmove(&mtime[17], &mtime[20], 4); | 205 | memmove(&mtime[17], &mtime[20], 4); |