]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Correct an archive object for set_reader_options function.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 23 Sep 2014 00:20:18 +0000 (09:20 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 23 Sep 2014 00:20:18 +0000 (09:20 +0900)
tar/write.c

index 606ec941073c8083de341441e14c6d2c01b5939d..10342e48e524280ed47ccd1e67e5c5cd2996cce6 100644 (file)
@@ -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,