summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-10-05 21:39:30 +0000
committerAlasdair Kergon <agk@redhat.com>2001-10-05 21:39:30 +0000
commit25d42d50a84a960d71e506cc6eff5151f272abca (patch)
tree073e0b5a10bb7116f43937a8a1c3253819233029 /tools/pvcreate.c
parentdf765ac1c8934a674988d4f59b9e0e091c7be29f (diff)
downloadlvm2-25d42d50a84a960d71e506cc6eff5151f272abca.tar.gz
lvm2-25d42d50a84a960d71e506cc6eff5151f272abca.tar.xz
lvm2-25d42d50a84a960d71e506cc6eff5151f272abca.zip
Sync include file changes.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index e538ab77..036fb8ea 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -94,7 +94,7 @@ void pvcreate_single(const char *pv_name)
}
- if (pv && (pv->status & STATUS_ACTIVE)) {
+ if (pv && (pv->status & ACTIVE)) {
log_error("Can't create on active physical volume %s", pv_name);
return;
}