summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c5
1 files 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 7ab873480bf..4099f5c115a 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -80,8 +80,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);