aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_extra_padding.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_extra_padding.c')
-rw-r--r--libarchive/test/test_read_format_zip_extra_padding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_extra_padding.c b/libarchive/test/test_read_format_zip_extra_padding.c
index 54f7fa04ee89..6e2f836f16e4 100644
--- a/libarchive/test/test_read_format_zip_extra_padding.c
+++ b/libarchive/test/test_read_format_zip_extra_padding.c
@@ -80,7 +80,7 @@ DEFINE_TEST(test_read_format_zip_extra_padding)
assertEqualInt(ARCHIVE_OK, archive_read_free(a));
/* Verify with streaming reader. */
- p = slurpfile(&s, refname);
+ p = slurpfile(&s, "%s", refname);
assert((a = archive_read_new()) != NULL);
assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a));
assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a));