summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index b1f07516795..7aa7a137b48 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -1631,7 +1631,7 @@ glusterd_handle_remove_brick (rpcsvc_request_t *req)
}
- brick_list = GF_MALLOC (120000 * sizeof(brick_list),gf_common_mt_char);
+ brick_list = GF_MALLOC (120000 * sizeof(*brick_list),gf_common_mt_char);
if (!brick_list) {
gf_log ("",GF_LOG_ERROR,"glusterd_handle_remove_brick: "