diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 67193e3b7..eda5520d7 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -483,7 +483,7 @@ static struct dm_list *_failed_pv_list(struct volume_group *vg) if (pvl->pv->pe_alloc_count == 0) continue; - if (!(new_pvl = dm_pool_alloc(vg->vgmem, sizeof(*new_pvl)))) { + if (!(new_pvl = dm_pool_zalloc(vg->vgmem, sizeof(*new_pvl)))) { log_error("Allocation of failed_pvs list entry failed."); return NULL; }