aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_write_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_disk.c')
-rw-r--r--libarchive/test/test_write_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_write_disk.c b/libarchive/test/test_write_disk.c
index 60bcdc24edf5..e38dbc78ff4e 100644
--- a/libarchive/test/test_write_disk.c
+++ b/libarchive/test/test_write_disk.c
@@ -186,7 +186,7 @@ static void create_reg_file4(struct archive_entry *ae, const char *msg)
#if !defined(_WIN32) || defined(__CYGWIN__)
assertEqualInt(st.st_mode, (archive_entry_mode(ae) & ~UMASK));
#endif
- failure(msg);
+ failure("%s", msg);
assertEqualInt(st.st_size, sizeof(data));
}