diff options
author | Alasdair Kergon <agk@redhat.com> | 2001-10-04 22:53:37 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2001-10-04 22:53:37 +0000 |
commit | ee1f91bf272a1d107ca6329506daf9b01c78ce07 (patch) | |
tree | 67b852154417ce0da2970dc5dc3aca7a31064964 /tools/pvchange.c | |
parent | 3840b20ac91c615d6453acf2aaf52db33e9a3726 (diff) | |
download | lvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.tar.gz lvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.tar.xz lvm2-ee1f91bf272a1d107ca6329506daf9b01c78ce07.zip |
metadata status flags regrouping & comments; misc tool changes
Diffstat (limited to 'tools/pvchange.c')
-rw-r--r-- | tools/pvchange.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/pvchange.c b/tools/pvchange.c index c13c2c9f..e3228f01 100644 --- a/tools/pvchange.c +++ b/tools/pvchange.c @@ -48,25 +48,25 @@ int pvchange(int argc, char **argv) if (arg_count(allocation_ARG) == 0) { log_error("Please give the x option"); - return LVM_EINVALID_CMD_LINE; + return EINVALID_CMD_LINE; } ios = active_ios(); if (!(arg_count(all_ARG)) && !argc) { log_error("Please give a physical volume path"); - return LVM_EINVALID_CMD_LINE; + return EINVALID_CMD_LINE; } if (arg_count(all_ARG) && argc) { log_error("Option a and PhysicalVolumePath are exclusive"); - return LVM_EINVALID_CMD_LINE; + return EINVALID_CMD_LINE; } if (arg_count(all_ARG)) { log_verbose("Scanning for physical volume names"); if (!(pvs_list = ios->get_pvs(ios))) { - return LVM_ECMD_FAILED; + return ECMD_FAILED; } list_for_each(pvh, &pvs_list->list) { |