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