summaryrefslogtreecommitdiff
path: root/tools/vgremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index 67e3767..6804f2a 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -29,7 +29,7 @@ static int vgremove_single(struct cmd_context *cmd, const char *vg_name,
lv_count = vg_visible_lvs(vg);
- force = arg_count(cmd, force_ARG);
+ force = (force_t) arg_count(cmd, force_ARG);
if (lv_count) {
if (force == PROMPT) {
if ((missing = vg_missing_pv_count(vg)))