mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: Fix a size_t in _dm_malloc_aligned_aux message.
This commit is contained in:
parent
5bbe68cf15
commit
e4e2abc8bc
@ -304,7 +304,7 @@ static void *_dm_malloc_aligned_aux(size_t s, size_t a, const char *file __attri
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((r = posix_memalign(&memptr, a, s))) {
|
if ((r = posix_memalign(&memptr, a, s))) {
|
||||||
log_error("Failed to allocate %" PRIsize_t " bytes aligned to %d: %s", s, a, strerror(r));
|
log_error("Failed to allocate %" PRIsize_t " bytes aligned to %" PRIsize_t ": %s", s, a, strerror(r));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user