From b77e7a225bc40ea09fa66969625b97b09a1cbf23 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 7 Oct 2022 11:16:11 +0200 Subject: tests: Use proper format string for size_t Signed-off-by: Jakub Jelen --- tests/hashtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/hashtest.c b/tests/hashtest.c index 379f7c40..05b06f36 100644 --- a/tests/hashtest.c +++ b/tests/hashtest.c @@ -434,11 +434,11 @@ run_longtest (int algo, int gigs) if (hugepattern != NULL) memset(hugepattern, 'a', hugesize); else - show_note ("failed to allocate %d GiB huge pattern block: %s", + show_note ("failed to allocate %zu GiB huge pattern block: %s", hugegigs, strerror(errno)); } else - show_note ("cannot allocate %d GiB huge pattern block on 32-bit system", + show_note ("cannot allocate %zu GiB huge pattern block on 32-bit system", hugegigs); } if (hugepattern == NULL) -- cgit v1.2.1