aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_fuzz.c')
-rw-r--r--libarchive/test/test_fuzz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libarchive/test/test_fuzz.c b/libarchive/test/test_fuzz.c
index d02fd993f972..b2654c4a3396 100644
--- a/libarchive/test/test_fuzz.c
+++ b/libarchive/test/test_fuzz.c
@@ -119,7 +119,8 @@ test_fuzz(const struct files *filesets)
for (i = 0; filesets[n].names[i] != NULL; ++i)
{
char *newraw;
- tmp = slurpfile(&size, filesets[n].names[i]);
+ tmp = slurpfile(&size, "%s",
+ filesets[n].names[i]);
newraw = realloc(rawimage, oldsize + size);
if (!assert(newraw != NULL))
{