diff options
Diffstat (limited to 'tools/lvremove.c')
-rw-r--r-- | tools/lvremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvremove.c b/tools/lvremove.c index 0252149..54094b1 100644 --- a/tools/lvremove.c +++ b/tools/lvremove.c @@ -26,7 +26,7 @@ static int lvremove_single(struct cmd_context *cmd, struct logical_volume *lv, if (lv_is_cow(lv) && lv_is_virtual_origin(origin = origin_from_cow(lv))) lv = origin; - if (!lv_remove_with_dependencies(cmd, lv, arg_count(cmd, force_ARG), 0)) { + if (!lv_remove_with_dependencies(cmd, lv, (force_t) arg_count(cmd, force_ARG), 0)) { stack; return ECMD_FAILED; } |