summaryrefslogtreecommitdiff
path: root/archival/ar.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-17 02:43:14 +0200
committerDenys Vlasenko2009-09-17 02:43:14 +0200
commitd57d62686dac254e83fbc18f851c773ec16013d8 (patch)
tree3e22476c6f2d74208568d5d56a629a81e11589ea /archival/ar.c
parent1166d7b1360285659aa7585e5c5bd4e1321aeeaf (diff)
downloadbusybox-d57d62686dac254e83fbc18f851c773ec16013d8.zip
busybox-d57d62686dac254e83fbc18f851c773ec16013d8.tar.gz
tar: fix --numeric-owner, --no-same-owner, --no-same-permissions bits
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/ar.c')
-rw-r--r--archival/ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/ar.c b/archival/ar.c
index dbff677..a1bcb1f 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -62,7 +62,7 @@ int ar_main(int argc, char **argv)
archive_handle->action_data = data_extract_all;
}
if (opt & AR_OPT_PRESERVE_DATE) {
- archive_handle->ah_flags |= ARCHIVE_PRESERVE_DATE;
+ archive_handle->ah_flags |= ARCHIVE_RESTORE_DATE;
}
if (opt & AR_OPT_VERBOSE) {
archive_handle->action_header = header_verbose_list_ar;