diff options
Diffstat (limited to 'tools/lvcreate.c')
-rw-r--r-- | tools/lvcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvcreate.c b/tools/lvcreate.c index d079c1c9..6118ab5f 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -371,7 +371,7 @@ static int _read_size_params(struct lvcreate_params *lp, } } else { /* No virtual size given, so no thin LV to create. */ - if (seg_is_thin_volume(lp) && !(lp->segtype = get_segtype_from_string(cmd, "thin_pool"))) + if (seg_is_thin_volume(lp) && !(lp->segtype = get_segtype_from_string(cmd, "thin-pool"))) return_0; lp->thin = 0; |