From: AJ Lewis Date: Wed, 8 May 2002 17:58:52 +0000 (+0000) Subject: o header should only be printed once... X-Git-Tag: v2_02_91~5585 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=29152f6ef08e50492f7c0c6ad4a9ff2a4136a5ec;p=lvm2.git o header should only be printed once... --- diff --git a/lib/display/display.c b/lib/display/display.c index 8db5b4726..cd375322b 100644 --- a/lib/display/display.c +++ b/lib/display/display.c @@ -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");