diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-12 02:54:06 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-12 02:54:06 +0000 |
commit | ec89652278dca2fc7920a151126f877cb4228a7e (patch) | |
tree | dca6d76d97497fec261011503035a9943c3069da | |
parent | 13e1cca6babb6cb5b6e1de4bb775160eb053308c (diff) | |
download | busybox-w32-ec89652278dca2fc7920a151126f877cb4228a7e.tar.gz busybox-w32-ec89652278dca2fc7920a151126f877cb4228a7e.tar.bz2 busybox-w32-ec89652278dca2fc7920a151126f877cb4228a7e.zip |
I noticed that "tar tvjf file.tbz" was segfaulting. This fixed it.
git-svn-id: svn://busybox.net/trunk/busybox@12224 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | archival/libunarchive/header_verbose_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/header_verbose_list.c b/archival/libunarchive/header_verbose_list.c index 6739dd393..f7601b732 100644 --- a/archival/libunarchive/header_verbose_list.c +++ b/archival/libunarchive/header_verbose_list.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | extern void header_verbose_list(const file_header_t *file_header) | 7 | extern void header_verbose_list(const file_header_t *file_header) |
8 | { | 8 | { |
9 | struct tm *mtime = localtime(&file_header->mtime); | 9 | struct tm *mtime = localtime(&(file_header->mtime)); |
10 | 10 | ||
11 | printf("%s %d/%d%10u %4u-%02u-%02u %02u:%02u:%02u %s", | 11 | printf("%s %d/%d%10u %4u-%02u-%02u %02u:%02u:%02u %s", |
12 | bb_mode_string(file_header->mode), | 12 | bb_mode_string(file_header->mode), |