aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_sfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_sfx.c')
-rw-r--r--libarchive/test/test_read_format_zip_sfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_sfx.c b/libarchive/test/test_read_format_zip_sfx.c
index dc76ef9b3826..a33c1b808c56 100644
--- a/libarchive/test/test_read_format_zip_sfx.c
+++ b/libarchive/test/test_read_format_zip_sfx.c
@@ -37,7 +37,7 @@ DEFINE_TEST(test_read_format_zip_sfx)
struct archive_entry *ae;
extract_reference_file(refname);
- p = slurpfile(&s, refname);
+ p = slurpfile(&s, "%s", refname);
/* Symlinks can only be extracted with the seeking reader. */
assert((a = archive_read_new()) != NULL);