From 92aec1cd091d23056c76e5b625b40c4766475dbb Mon Sep 17 00:00:00 2001 From: hari gowtham Date: Tue, 27 Oct 2015 11:51:33 +0530 Subject: tier: Typo while setting the wrong value of low/hi watermark While setting the wrong value of watermark-hi/low the output shows "compatiblevalue" whereas it should be "compatible value" Change-Id: I29c8f9a954928d22e436465f4ebc30bd08640138 BUG: 1275502 Signed-off-by: hari gowtham Reviewed-on: http://review.gluster.org/12432 Reviewed-by: Humble Devassy Chirammal Tested-by: Gluster Build System Reviewed-by: Dan Lambright --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index d2ef4b184fb..4ea7d3baa8a 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -75,8 +75,9 @@ validate_tier (glusterd_volinfo_t *volinfo, dict_t *dict, char *key, if (strstr (key, "watermark-hi") || strstr (key, "watermark-low")) { if ((origin_val < 1) || (origin_val > 99)) { - snprintf (errstr, sizeof (errstr), "%s is not a compatible" - "value. %s expects a percentage from 1-99.", + snprintf (errstr, sizeof (errstr), "%s is not a " + "compatible value. %s expects a " + "percentage from 1-99.", value, key); gf_msg (this->name, GF_LOG_ERROR, EINVAL, GD_MSG_INCOMPATIBLE_VALUE, "%s", errstr); -- cgit