summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-02-19 02:26:40 -0800
committerAnand V. Avati <avati@dev.gluster.com>2009-02-19 02:58:14 -0800
commit1c701badce280d8de92a5314881824725deec1e6 (patch)
treec424bca4d98bdb093352c96adf120e1cf14870c8 /libglusterfs/src
parent0bb3a56f246082967f7a89a7ea51638babf514d1 (diff)
Fix the order of CALLOC() args
Fix the order of CALLOC arguments. Signed-off-by: Shehjar Tikoo <shehjart@zresearch.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-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) { \