aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_nested.c')
-rw-r--r--libarchive/test/test_read_format_zip_nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_nested.c b/libarchive/test/test_read_format_zip_nested.c
index 5f6edf267443..4418fc4f2502 100644
--- a/libarchive/test/test_read_format_zip_nested.c
+++ b/libarchive/test/test_read_format_zip_nested.c
@@ -34,7 +34,7 @@ DEFINE_TEST(test_read_format_zip_nested)
struct archive_entry *ae;
extract_reference_file(refname);
- p = slurpfile(&s, refname);
+ p = slurpfile(&s, "%s", refname);
/* Inspect outer Zip */
assert((a = archive_read_new()) != NULL);