aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c')
-rw-r--r--libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c b/libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c
index dc94f94f1571..aca8bed60948 100644
--- a/libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c
+++ b/libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c
@@ -39,7 +39,7 @@ DEFINE_TEST(test_read_format_zip_with_invalid_traditional_eocd)
struct archive_entry *ae;
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));