summaryrefslogtreecommitdiffstats
path: root/tools/pvscan.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-10-04 22:53:37 +0000
committerAlasdair Kergon <agk@redhat.com>2001-10-04 22:53:37 +0000
commitee1f91bf272a1d107ca6329506daf9b01c78ce07 (patch)
tree67b852154417ce0da2970dc5dc3aca7a31064964 /tools/pvscan.c
parent3840b20ac91c615d6453acf2aaf52db33e9a3726 (diff)
downloadlvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.tar.gz
lvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.tar.xz
lvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.zip
metadata status flags regrouping & comments; misc tool changes
Diffstat (limited to 'tools/pvscan.c')
-rw-r--r--tools/pvscan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c
index 98ae7786..ef4bea9e 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -36,9 +36,9 @@ int pvscan(int argc, char **argv)
struct list_head *pvh;
struct physical_volume *pv;
- __uint64_t size_total = 0;
- __uint64_t size_new = 0;
- __uint64_t size = 0;
+ uint64_t size_total = 0;
+ uint64_t size_new = 0;
+ uint64_t size = 0;
int len = 0;
pv_max_name_len = 0;
@@ -46,7 +46,7 @@ int pvscan(int argc, char **argv)
if (arg_count(novolumegroup_ARG) && arg_count(exported_ARG)) {
log_error("options e and n incompatible");
- return LVM_EINVALID_CMD_LINE;
+ return EINVALID_CMD_LINE;
}
if (arg_count(exported_ARG) || arg_count(novolumegroup_ARG))
@@ -59,7 +59,7 @@ int pvscan(int argc, char **argv)
ios = active_ios();
if (!(pvs_list = ios->get_pvs(ios)))
- return LVM_ECMD_FAILED;
+ return ECMD_FAILED;
/* eliminate exported/new if required */
list_for_each(pvh, &pvs_list->list) {