aboutsummaryrefslogtreecommitdiff
path: root/libarchive/test/test_write_format_cpio_empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_format_cpio_empty.c')
-rw-r--r--libarchive/test/test_write_format_cpio_empty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_write_format_cpio_empty.c b/libarchive/test/test_write_format_cpio_empty.c
index 2ba415c7b987..3ca5c395e33c 100644
--- a/libarchive/test/test_write_format_cpio_empty.c
+++ b/libarchive/test/test_write_format_cpio_empty.c
@@ -52,7 +52,7 @@ DEFINE_TEST(test_write_format_cpio_empty)
/* Create a new archive in memory. */
assert((a = archive_write_new()) != NULL);
- assertA(0 == archive_write_set_format_cpio(a));
+ assertA(0 == archive_write_set_format_cpio_odc(a));
assertA(0 == archive_write_add_filter_none(a));
/* 1-byte block size ensures we see only the required bytes. */
/* We're not testing the padding here. */