aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_padded.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_padded.c')
-rw-r--r--libarchive/test/test_read_format_zip_padded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_padded.c b/libarchive/test/test_read_format_zip_padded.c
index 2094eca3557a..d8c694bae5e2 100644
--- a/libarchive/test/test_read_format_zip_padded.c
+++ b/libarchive/test/test_read_format_zip_padded.c
@@ -34,7 +34,7 @@ verify_padded_archive(const char *refname)
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));