aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_nofiletype.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_nofiletype.c')
-rw-r--r--libarchive/test/test_read_format_zip_nofiletype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_nofiletype.c b/libarchive/test/test_read_format_zip_nofiletype.c
index b01afabe953b..b3260fa7563b 100644
--- a/libarchive/test/test_read_format_zip_nofiletype.c
+++ b/libarchive/test/test_read_format_zip_nofiletype.c
@@ -40,7 +40,7 @@ DEFINE_TEST(test_read_format_zip_nofiletype)
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));