aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_high_compression.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_high_compression.c')
-rw-r--r--libarchive/test/test_read_format_zip_high_compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_high_compression.c b/libarchive/test/test_read_format_zip_high_compression.c
index 42faed378f6d..16cfbb182893 100644
--- a/libarchive/test/test_read_format_zip_high_compression.c
+++ b/libarchive/test/test_read_format_zip_high_compression.c
@@ -56,7 +56,7 @@ DEFINE_TEST(test_read_format_zip_high_compression)
}
extract_reference_file(refname);
- p = slurpfile(&archive_size, refname);
+ p = slurpfile(&archive_size, "%s", refname);
assert((a = archive_read_new()) != NULL);
assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_zip(a));