aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_comment_stored.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_comment_stored.c')
-rw-r--r--libarchive/test/test_read_format_zip_comment_stored.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_comment_stored.c b/libarchive/test/test_read_format_zip_comment_stored.c
index b92b2886cdda..95df0107fecb 100644
--- a/libarchive/test/test_read_format_zip_comment_stored.c
+++ b/libarchive/test/test_read_format_zip_comment_stored.c
@@ -38,7 +38,7 @@ verify(const char *refname)
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);