From 014cdf385642947d0592102b2c7338a8ad1c2d4e Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Mon, 13 Apr 2009 14:02:47 +0530 Subject: fixed sizeof parameter in CALLOC of a new arena Signed-off-by: Anand V. Avati --- libglusterfs/src/iobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/iobuf.c b/libglusterfs/src/iobuf.c index b11438b38d9..2a97d99951e 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; -- cgit