aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_write_format_cpio_empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_format_cpio_empty.c')
-rw-r--r--libarchive/test/test_write_format_cpio_empty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_write_format_cpio_empty.c b/libarchive/test/test_write_format_cpio_empty.c
index 60fb28340133..2ba415c7b987 100644
--- a/libarchive/test/test_write_format_cpio_empty.c
+++ b/libarchive/test/test_write_format_cpio_empty.c
@@ -64,7 +64,7 @@ DEFINE_TEST(test_write_format_cpio_empty)
assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a));
assertEqualInt(ARCHIVE_OK, archive_write_free(a));
- failure("Empty cpio archive should be exactly 87 bytes, was %d.", used);
+ failure("Empty cpio archive should be exactly 87 bytes, was %zu.", used);
assert(used == 87);
failure("Empty cpio archive is incorrectly formatted.");
assertEqualMem(buff, ref, 87);