]> sourceware.org Git - lvm2.git/commitdiff
o header should only be printed once...
authorAJ Lewis <alewis@redhat.com>
Wed, 8 May 2002 17:58:52 +0000 (17:58 +0000)
committerAJ Lewis <alewis@redhat.com>
Wed, 8 May 2002 17:58:52 +0000 (17:58 +0000)
lib/display/display.c

index 8db5b4726bf665e704ea2b89f8539add03b577c2..cd375322b01a0059d3bf66b05d8fc22ce10a4de7 100644 (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");
This page took 0.038544 seconds and 5 git commands to generate.