diff options
author | Alasdair Kergon <agk@redhat.com> | 2004-06-19 19:27:00 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2004-06-19 19:27:00 +0000 |
commit | c29d24650dfb303e1e314f43095a907e0cdad498 (patch) | |
tree | 56012e94a6666737cee96b41d26dc8d753114240 /tools/pvcreate.c | |
parent | 01c263e9fec9b57d244e022a9f6a03a1b4506ba8 (diff) | |
download | lvm2-c29d24650dfb303e1e314f43095a907e0cdad498.tar.gz lvm2-c29d24650dfb303e1e314f43095a907e0cdad498.tar.xz lvm2-c29d24650dfb303e1e314f43095a907e0cdad498.zip |
Display all filtered devices, not just PVs, with pvs -a.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r-- | tools/pvcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c index a2ea2df6..162faaed 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -35,7 +35,7 @@ static int pvcreate_check(struct cmd_context *cmd, const char *name) /* is there a pv here already */ /* FIXME Use partial mode here? */ - if (!(pv = pv_read(cmd, name, NULL, NULL))) + if (!(pv = pv_read(cmd, name, NULL, NULL, 0))) return 1; /* orphan ? */ |