From c7271494ce658e92223f64fb4f261a36be20a90c Mon Sep 17 00:00:00 2001 From: Lukas Czerner Date: Fri, 5 Jun 2020 10:14:41 +0200 Subject: [PATCH] e2fsck: use the right conversion specifier in e2fsck_allocate_memory() Signed-off-by: Lukas Czerner Signed-off-by: Theodore Ts'o --- e2fsck/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2fsck/util.c b/e2fsck/util.c index 425fe88..e0623e4 100644 --- a/e2fsck/util.c +++ b/e2fsck/util.c @@ -123,7 +123,7 @@ void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned long size, char buf[256]; #ifdef DEBUG_ALLOCATE_MEMORY - printf("Allocating %u bytes for %s...\n", size, description); + printf("Allocating %lu bytes for %s...\n", size, description); #endif if (ext2fs_get_memzero(size, &ret)) { sprintf(buf, "Can't allocate %lu bytes for %s\n", -- 1.8.3.1