summaryrefslogtreecommitdiff
path: root/tar/write.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-09-23 09:20:18 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-09-23 09:20:18 +0900
commit25a4fdee7284d59b1e6854ce7ca87f02ed21f78b (patch)
tree2bfc352e2cc58093a6d0fc97a810e2b02bebb43d /tar/write.c
parentd057b953d9b7560a5bcee159d89ff14bd82120db (diff)
downloadlibarchive-25a4fdee7284d59b1e6854ce7ca87f02ed21f78b.tar.gz
Correct an archive object for set_reader_options function.
Diffstat (limited to 'tar/write.c')
-rw-r--r--tar/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/write.c b/tar/write.c
index 606ec941..10342e48 100644
--- a/tar/write.c
+++ b/tar/write.c
@@ -653,7 +653,7 @@ append_archive_filename(struct bsdtar *bsdtar, struct archive *a,
ina = archive_read_new();
archive_read_support_format_all(ina);
archive_read_support_filter_all(ina);
- set_reader_options(bsdtar, a);
+ set_reader_options(bsdtar, ina);
archive_read_set_options(ina, "mtree:checkfs");
if (bsdtar->passphrase != NULL) {
if (archive_read_add_passphrase(a,