aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_jar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_jar.c')
-rw-r--r--libarchive/test/test_read_format_zip_jar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_jar.c b/libarchive/test/test_read_format_zip_jar.c
index ffb520eb83c1..912e67137704 100644
--- a/libarchive/test/test_read_format_zip_jar.c
+++ b/libarchive/test/test_read_format_zip_jar.c
@@ -40,7 +40,7 @@ DEFINE_TEST(test_read_format_zip_jar)
char data[16];
extract_reference_file(refname);
- p = slurpfile(&s, refname);
+ p = slurpfile(&s, "%s", refname);
assert((a = archive_read_new()) != NULL);
assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_zip_seekable(a));