Whamcloud - gitweb
e2fsck: use the right conversion specifier in e2fsck_allocate_memory()
authorLukas Czerner <lczerner@redhat.com>
Fri, 5 Jun 2020 08:14:41 +0000 (10:14 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Oct 2020 20:51:46 +0000 (16:51 -0400)
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/util.c

index 425fe88..e0623e4 100644 (file)
@@ -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",