summaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_pax_truncated.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_pax_truncated.c')
-rw-r--r--libarchive/test/test_read_pax_truncated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_pax_truncated.c b/libarchive/test/test_read_pax_truncated.c
index 7c1ba6c..bc5d74d 100644
--- a/libarchive/test/test_read_pax_truncated.c
+++ b/libarchive/test/test_read_pax_truncated.c
@@ -38,7 +38,7 @@ DEFINE_TEST(test_read_pax_truncated)
/* Create a new archive in memory. */
assert((a = archive_write_new()) != NULL);
assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_pax(a));
- assertEqualIntA(a, ARCHIVE_OK, archive_write_set_compression_none(a));
+ assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
assertEqualIntA(a, ARCHIVE_OK,
archive_write_open_memory(a, buff, buff_size, &used));
OpenPOWER on IntegriCloud