summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-03-01 17:20:47 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2016-03-01 17:20:47 +0100
commitafae3355f8e79b8fab8d5bc45f99caf0d8b2420c (patch)
treeceab9cf3d27545c6b54a333ce78a3a6a95f267f6
parent058eb3739d6f0550f81fb9d6268feda698fdbb05 (diff)
downloadlvm2-afae3355f8e79b8fab8d5bc45f99caf0d8b2420c.tar.gz
cleanup: missplaced .
Remove misplaced '.' after '?' Drop extra 'stack;' after log_debug().
-rw-r--r--tools/toollib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index 05d765df0..dba5023a4 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -3958,7 +3958,7 @@ static int _pvremove_check_single(struct cmd_context *cmd,
*/
if (!dev_test_excl(pv->dev)) {
/* FIXME Detect whether device-mapper itself is still using it */
- log_error("Can't open %s exclusively. Mounted filesystem?.",
+ log_error("Can't open %s exclusively. Mounted filesystem?",
pv_dev_name(pv));
dm_list_move(&pp->arg_fail, &pd->list);
return 1;
@@ -4049,6 +4049,7 @@ static int _pvremove_check_single(struct cmd_context *cmd,
pd->dev = pv->dev;
dm_list_move(&pp->arg_process, &pd->list);
+
return 1;
}
@@ -4193,7 +4194,7 @@ int pvcreate_each_device(struct cmd_context *cmd,
*/
if (dm_list_empty(&pp->arg_process)) {
log_debug("No devices to process.");
- goto_bad;
+ goto bad;
}
/*