summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-01-30 14:00:02 +0000
committerAlasdair Kergon <agk@redhat.com>2008-01-30 14:00:02 +0000
commit67cdbd7e4dc4fcd08c54de6e2c943d059df14147 (patch)
tree2dde8ace94d9730fe88be445487f2a6efb6f0786 /tools/pvcreate.c
parentc51b9fff19d4891addf22f35950eeae48be9cac8 (diff)
downloadlvm2-67cdbd7e4dc4fcd08c54de6e2c943d059df14147.tar.gz
lvm2-67cdbd7e4dc4fcd08c54de6e2c943d059df14147.tar.xz
lvm2-67cdbd7e4dc4fcd08c54de6e2c943d059df14147.zip
Some whitespace tidy-ups.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index b7932316..1a5baef0 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -45,10 +45,10 @@ static int pvcreate_check(struct cmd_context *cmd, const char *name)
pv = pv_read(cmd, name, NULL, NULL, 0);
/*
- * If a PV has no MDAs it may appear to be an orphan until the
- * metadata is read off another PV in the same VG. Detecting
- * this means checking every VG by scanning every PV on the
- * system.
+ * If a PV has no MDAs it may appear to be an orphan until the
+ * metadata is read off another PV in the same VG. Detecting
+ * this means checking every VG by scanning every PV on the
+ * system.
*/
if (pv && is_orphan(pv)) {
if (!scan_vgs_for_pvs(cmd))
@@ -109,7 +109,7 @@ static int pvcreate_check(struct cmd_context *cmd, const char *name)
if (dev_is_md(dev, &md_superblock) &&
((!arg_count(cmd, uuidstr_ARG) &&
!arg_count(cmd, restorefile_ARG)) ||
- arg_count(cmd, yes_ARG) ||
+ arg_count(cmd, yes_ARG) ||
(yes_no_prompt("Software RAID md superblock "
"detected on %s. Wipe it? [y/n] ", name) == 'y'))) {
log_print("Wiping software RAID md superblock on %s", name);