aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_malformed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_malformed.c')
-rw-r--r--libarchive/test/test_read_format_zip_malformed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_malformed.c b/libarchive/test/test_read_format_zip_malformed.c
index e14a3f5660da..f1160648e759 100644
--- a/libarchive/test/test_read_format_zip_malformed.c
+++ b/libarchive/test/test_read_format_zip_malformed.c
@@ -46,7 +46,7 @@ test_malformed1(void)
assertEqualIntA(a, 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));