summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/ctx.c b/libglusterfs/src/ctx.c
index 170a5752452..7a0e0ad5ea4 100644
--- a/libglusterfs/src/ctx.c
+++ b/libglusterfs/src/ctx.c
@@ -21,7 +21,7 @@ glusterfs_ctx_new()
/* no GF_CALLOC here, gf_acct_mem_set_enable is not
yet decided at this point */
- ctx = calloc(1, sizeof(*ctx));
+ ctx = CALLOC(1, sizeof(*ctx));
if (!ctx) {
goto out;
}