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 1879ec79f..beccab217 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -213,9 +213,10 @@ static int write_ar_archive(archive_handle_t *handle) | |||
213 | 213 | ||
214 | static void FAST_FUNC header_verbose_list_ar(const file_header_t *file_header) | 214 | static void FAST_FUNC header_verbose_list_ar(const file_header_t *file_header) |
215 | { | 215 | { |
216 | const char *mode = bb_mode_string(file_header->mode); | 216 | char mode[12]; |
217 | char *mtime; | 217 | char *mtime; |
218 | 218 | ||
219 | bb_mode_string(mode, file_header->mode); | ||
219 | mtime = ctime(&file_header->mtime); | 220 | mtime = ctime(&file_header->mtime); |
220 | mtime[16] = ' '; | 221 | mtime[16] = ' '; |
221 | memmove(&mtime[17], &mtime[20], 4); | 222 | memmove(&mtime[17], &mtime[20], 4); |