summaryrefslogtreecommitdiff
path: root/tools/lvresize.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-06-14 14:56:17 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-06-23 14:57:08 +0200
commit6268d0a080f61c85c2681b3dcfdd5b00f849ace1 (patch)
tree2a602ee31055daa2e17b6b4ca35808ada2670475 /tools/lvresize.c
parent0a525832f9902f6268d155f22975653f27877816 (diff)
downloadlvm2-6268d0a080f61c85c2681b3dcfdd5b00f849ace1.tar.gz
cleanup: add dots to some messages
Add missing dots and one comment.
Diffstat (limited to 'tools/lvresize.c')
-rw-r--r--tools/lvresize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/lvresize.c b/tools/lvresize.c
index ee6678fd7..f7e17b84f 100644
--- a/tools/lvresize.c
+++ b/tools/lvresize.c
@@ -101,13 +101,13 @@ static int _lvresize_params(struct cmd_context *cmd, int argc, char **argv,
}
if (lp->resize == LV_EXTEND && lp->sign == SIGN_MINUS) {
- log_error("Negative argument not permitted - use lvreduce");
+ log_error("Negative argument not permitted - use lvreduce.");
return 0;
}
if (lp->resize == LV_REDUCE &&
((lp->sign == SIGN_PLUS) || (lp->poolmetadatasign == SIGN_PLUS))) {
- log_error("Positive sign not permitted - use lvextend");
+ log_error("Positive sign not permitted - use lvextend.");
return 0;
}
@@ -115,7 +115,7 @@ static int _lvresize_params(struct cmd_context *cmd, int argc, char **argv,
lp->nofsck = arg_is_set(cmd, nofsck_ARG);
if (!argc) {
- log_error("Please provide the logical volume name");
+ log_error("Please provide the logical volume name.");
return 0;
}
@@ -191,8 +191,8 @@ static int _lvresize_single(struct cmd_context *cmd, const char *vg_name,
/* Does LV exist? */
if (!(lv = find_lv(vg, lp->lv_name))) {
- log_error("Logical volume %s not found in volume group %s",
- lp->lv_name, lp->vg_name);
+ log_error("Logical volume %s not found in volume group %s.",
+ lp->lv_name, vg->name);
goto out;
}