1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-30 10:50:34 +03:00

o header should only be printed once...

This commit is contained in:
AJ Lewis 2002-05-08 17:58:52 +00:00
parent fccc39a3a7
commit 29152f6ef0

View File

@ -251,9 +251,9 @@ int lvdisplay_full(struct cmd_context *cmd, struct logical_volume *lv)
if ((snap = find_origin(lv))) {
struct list *slh, *snaplist = find_snapshots(lv);
log_print("LV snapshot status source of");
list_iterate(slh, snaplist) {
snap = list_item(slh, struct snapshot_list)->snapshot;
log_print("LV snapshot status source of");
log_print(" %s%s/%s [%s]",
lv->vg->cmd->dev_dir, lv->vg->name,
snap->cow->name, "active");