summaryrefslogtreecommitdiff
path: root/benchmarks/raidtest/files/raidtest.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--benchmarks/raidtest/files/raidtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/raidtest/files/raidtest.c b/benchmarks/raidtest/files/raidtest.c
index f5eb962f9d72..2c877f9a45ec 100644
--- a/benchmarks/raidtest/files/raidtest.c
+++ b/benchmarks/raidtest/files/raidtest.c
@@ -322,8 +322,8 @@ raidtest_test(int argc, char *argv[])
if (procs == NULL) {
close(fdf);
close(fdd);
- errx(EXIT_FAILURE, "Cannot allocate %u bytes of memory.",
- sizeof(pid_t) * nprocs);
+ errx(EXIT_FAILURE, "Cannot allocate %zu bytes of memory.",
+ sizeof(pid_t) * (size_t)nprocs);
}
iorqs =
malloc((sb.st_size / sizeof(struct iorec)) * sizeof(struct ioreq));