aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_zip_mac_metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_zip_mac_metadata.c')
-rw-r--r--libarchive/test/test_read_format_zip_mac_metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_format_zip_mac_metadata.c b/libarchive/test/test_read_format_zip_mac_metadata.c
index 99b7012328cb..3f2813cc9894 100644
--- a/libarchive/test/test_read_format_zip_mac_metadata.c
+++ b/libarchive/test/test_read_format_zip_mac_metadata.c
@@ -76,7 +76,7 @@ DEFINE_TEST(test_read_format_zip_mac_metadata)
};
extract_reference_file(refname);
- p = slurpfile(&s, refname);
+ p = slurpfile(&s, "%s", refname);
/* Mac metadata can only be extracted with the seeking reader. */
assert((a = archive_read_new()) != NULL);