aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-11-12 02:54:06 +0000
committerRob Landley <rob@landley.net>2005-11-12 02:54:06 +0000
commit5412843e79d7738cf9ef3e06de288a4fa1f04295 (patch)
treedca6d76d97497fec261011503035a9943c3069da /archival
parent64a5f96780a6a507c577629a5697cdbb53f7bc9b (diff)
downloadbusybox-5412843e79d7738cf9ef3e06de288a4fa1f04295.tar.gz
I noticed that "tar tvjf file.tbz" was segfaulting. This fixed it.
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/header_verbose_list.c2
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 @@
extern void header_verbose_list(const file_header_t *file_header)
{
- struct tm *mtime = localtime(&file_header->mtime);
+ struct tm *mtime = localtime(&(file_header->mtime));
printf("%s %d/%d%10u %4u-%02u-%02u %02u:%02u:%02u %s",
bb_mode_string(file_header->mode),