From: Michihiro NAKAJIMA Date: Tue, 23 Sep 2014 00:20:18 +0000 (+0900) Subject: Correct an archive object for set_reader_options function. X-Git-Tag: v3.1.900a~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25a4fdee7284d59b1e6854ce7ca87f02ed21f78b;p=thirdparty%2Flibarchive.git Correct an archive object for set_reader_options function. --- diff --git a/tar/write.c b/tar/write.c index 606ec9410..10342e48e 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,