mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 18:14:25 +08:00
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:
parent
0c6fe31f32
commit
c7271494ce
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user