diff options
author | Alasdair G Kergon <agk@redhat.com> | 2018-01-11 22:19:41 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2018-01-12 00:42:53 +0000 |
commit | e4e2abc8bc2f257c2d0f9458bab7c87d34626be3 (patch) | |
tree | ae46c6e24cfa99f3dbe9879fd3a047efb5c8dc2c | |
parent | 5bbe68cf15b00987e6644c956cf602251ac91581 (diff) | |
download | lvm2-e4e2abc8bc2f257c2d0f9458bab7c87d34626be3.tar.gz |
libdm: Fix a size_t in _dm_malloc_aligned_aux message.
-rw-r--r-- | libdm/mm/dbg_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/mm/dbg_malloc.c b/libdm/mm/dbg_malloc.c index f108e7ba2..280213bd2 100644 --- a/libdm/mm/dbg_malloc.c +++ b/libdm/mm/dbg_malloc.c @@ -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))) { - 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; } |