summaryrefslogtreecommitdiff
path: root/test/format/salvage.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/format/salvage.c')
-rw-r--r--test/format/salvage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/format/salvage.c b/test/format/salvage.c
index 9fccf880a68..59682dea10e 100644
--- a/test/format/salvage.c
+++ b/test/format/salvage.c
@@ -96,7 +96,7 @@ found: if (fstat(fd, &sb) == -1)
if ((fp = fopen(buf, "w")) == NULL)
die(errno, "salvage-corrupt: open: %s", buf);
(void)fprintf(fp,
- "salvage-corrupt: offset %" PRIuMAX ", length %zu\n",
+ "salvage-corrupt: offset %" PRIuMAX ", length " SIZET_FMT "\n",
(uintmax_t)offset, len);
(void)fclose(fp);