aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2020-06-05 10:14:41 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-10-01 16:51:46 -0400
commitc7271494ce658e92223f64fb4f261a36be20a90c (patch)
treeb6e297c3aae7cadd82b325f42f6fee73d95330b6
parent0c6fe31f328e7244164d8a954488f5738caaf915 (diff)
downloade2fsprogs-c7271494ce658e92223f64fb4f261a36be20a90c.tar.gz
e2fsck: use the right conversion specifier in e2fsck_allocate_memory()
Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--e2fsck/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsck/util.c b/e2fsck/util.c
index 425fe88e8..e0623e4c8 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",