diff options
Diffstat (limited to 'tools/lvscan.c')
-rw-r--r-- | tools/lvscan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lvscan.c b/tools/lvscan.c index fd93d58e..27b447ae 100644 --- a/tools/lvscan.c +++ b/tools/lvscan.c @@ -29,6 +29,7 @@ static int lvscan_single(struct cmd_context *cmd, struct logical_volume *lv, const char *active_str, *snapshot_str; +/* FIXME Add -D arg to skip this! */ if (lv_info(lv, &info) && info.exists) active_str = "ACTIVE "; else @@ -46,6 +47,8 @@ static int lvscan_single(struct cmd_context *cmd, struct logical_volume *lv, display_size(cmd, lv->size / 2, SIZE_SHORT), get_alloc_string(lv->alloc)); + /* FIXME sprintf? */ + lv_total++; lv_capacity_total += lv->size; |