summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 9912711c..3d754807 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -33,7 +33,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
/* Is there a pv here already? */
/* If not, this is an error unless you used -f. */
- if (!(pv = pv_read(cmd, name, &mdas, NULL, 1))) {
+ if (!(pv = pv_read(cmd, name, &mdas, NULL, 1, 0))) {
if (arg_count(cmd, force_ARG))
return 1;
log_error("Physical Volume %s not found", name);
@@ -53,7 +53,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
"failed.");
return 0;
}
- if (!(pv = pv_read(cmd, name, NULL, NULL, 1))) {
+ if (!(pv = pv_read(cmd, name, NULL, NULL, 1, 0))) {
log_error("Failed to read physical volume %s", name);
return 0;
}