mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-25 02:51:16 +03:00
cleanup: update log messages
This commit is contained in:
parent
838592a171
commit
9d04ecc7b3
@ -412,7 +412,7 @@ int suspend_lvs(struct cmd_context *cmd, struct dm_list *lvs,
|
||||
|
||||
dm_list_iterate_items(lvl, lvs) {
|
||||
if (!suspend_lv(cmd, lvl->lv)) {
|
||||
log_error("Failed to suspend %s", lvl->lv->name);
|
||||
log_error("Failed to suspend %s", display_lvname(lvl->lv));
|
||||
if (vg_to_revert)
|
||||
vg_revert(vg_to_revert);
|
||||
/*
|
||||
|
@ -141,7 +141,7 @@ int pvmove_finish(struct cmd_context *cmd, struct volume_group *vg,
|
||||
/* Deactivate mirror LV */
|
||||
if (!deactivate_lv(cmd, lv_mirr)) {
|
||||
log_error("ABORTING: Unable to deactivate temporary logical "
|
||||
"volume \"%s\"", lv_mirr->name);
|
||||
"volume %s.", display_lvname(lv_mirr));
|
||||
r = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user