summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/iobuf.c
diff options
context:
space:
mode:
authorAnand V. Avati <avati@gluster.com>2009-04-13 14:02:47 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-13 14:54:58 +0530
commit014cdf385642947d0592102b2c7338a8ad1c2d4e (patch)
tree3d8757a142bcb75fa28bb3b900e25f39e9b76116 /libglusterfs/src/iobuf.c
parent5dd850ae840ddb402ca4aaae19c668094947507e (diff)
fixed sizeof parameter in CALLOC of a new arena
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/iobuf.c')
-rw-r--r--libglusterfs/src/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/iobuf.c b/libglusterfs/src/iobuf.c
index b11438b38..2a97d9995 100644
--- a/libglusterfs/src/iobuf.c
+++ b/libglusterfs/src/iobuf.c
@@ -106,7 +106,7 @@ __iobuf_arena_alloc (struct iobuf_pool *iobuf_pool)
struct iobuf_arena *iobuf_arena = NULL;
size_t arena_size = 0;
- iobuf_arena = CALLOC (sizeof (*iobuf_pool), 1);
+ iobuf_arena = CALLOC (sizeof (*iobuf_arena), 1);
if (!iobuf_arena)
goto err;