Skip to contentSkip to conversation

main - debug: display_lvname

PATCH Zdenek Kabelac 1 participant 1 message Mar 10, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2cbe88d6a1e9e6f637ee1b5ccdc7b78712d46998
Commit:        2cbe88d6a1e9e6f637ee1b5ccdc7b78712d46998
Parent:        a654148b76c71022997c3ea509b52354985b8d7f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Mar 10 22:05:10 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Mar 11 00:18:01 2021 +0100

debug: display_lvname

---
 tools/toollib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/toollib.c +1 -1
index f60847b48..a8bda8bcd 100644
@@ -3074,7 +3074,7 @@ int process_each_lv_in_vg(struct cmd_context *cmd, struct volume_group *vg,
 		if (!process_lv)
 			continue;
 
-		log_very_verbose("Adding %s/%s to the list of LVs to be processed.", vg->name, lvl->lv->name);
+		log_very_verbose("Adding %s to the list of LVs to be processed.", display_lvname(lvl->lv));
 
 		if (!(final_lvl = dm_pool_zalloc(cmd->mem, sizeof(struct lv_list)))) {
 			log_error("Failed to allocate final LV list item.");