1
0
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:
Zdenek Kabelac 2017-11-14 11:35:25 +01:00
parent 838592a171
commit 9d04ecc7b3
2 changed files with 2 additions and 2 deletions

View File

@ -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);
/*

View File

@ -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;
}