summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index a4af71e3bc1..552998ad058 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -1000,8 +1000,9 @@ glusterd_handle_create_volume (rpcsvc_request_t *req)
&tmpvolinfo, &tmpbrkinfo);
if (!ret) {
ret = -1;
- snprintf (err_str, sizeof (err_str), "Brick: %s:%s, %s"
- " in the arguments mean the same",
+ snprintf (err_str, sizeof (err_str), "Brick: %s:%s and "
+ "Brick: %s have overlapping export directories"
+ " from the same peer",
tmpbrkinfo->hostname, tmpbrkinfo->path,
brick);
goto out;
@@ -1422,8 +1423,9 @@ brick_val:
&tmpvolinfo, &tmpbrkinfo);
if (!ret) {
ret = -1;
- snprintf (err_str, sizeof (err_str), "Brick: %s:%s, %s"
- " in the arguments mean the same",
+ snprintf (err_str, sizeof (err_str), "Brick: %s:%s and "
+ "Brick: %s have overlapping export directories"
+ " from the same peer",
tmpbrkinfo->hostname, tmpbrkinfo->path,
brick);
goto out;