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>
This commit is contained in:
Lukas Czerner 2020-06-05 10:14:41 +02:00 committed by Theodore Ts'o
parent 0c6fe31f32
commit c7271494ce

View 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",