summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/mem-pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/mem-pool.h b/libglusterfs/src/mem-pool.h
index b36c24477ed..7044d738563 100644
--- a/libglusterfs/src/mem-pool.h
+++ b/libglusterfs/src/mem-pool.h
@@ -25,7 +25,7 @@
#define MALLOC(size) malloc(size)
-#define CALLOC(size,cnt) calloc(size,cnt)
+#define CALLOC(cnt,size) calloc(cnt,size)
#define FREE(ptr) \
if (ptr != NULL) { \