diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index ff2a673eb..cb6f09362 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -6558,7 +6558,7 @@ static int _lv_remove_check_in_use(struct logical_volume *lv, force_t force) { struct volume_group *vg = lv->vg; const char *volume_type = ""; - char buffer[50 * NAME_LEN * 2] = ""; + char buffer[50 + NAME_LEN * 2] = ""; int active; int issue_discards = (vg->cmd->current_settings.issue_discards &&