summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index efd8cb7f..f90f88a2 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -129,7 +129,7 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
}
/* FIXME Avoid error if we expect that daemon might not know device */
- if (!lvmetad_pv_gone(dev->dev))
+ if (!lvmetad_pv_gone(dev))
goto_out;
log_print("Labels on physical volume \"%s\" successfully wiped",