From 25dc191c51efb97ec970b137edfe4557302b7357 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 19 May 2009 04:33:58 +0000 Subject: mem-pool: Fix #define spelling Signed-off-by: Anand V. Avati --- libglusterfs/src/mem-pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c index a5bb3fcc2..5e385c856 100644 --- a/libglusterfs/src/mem-pool.c +++ b/libglusterfs/src/mem-pool.c @@ -22,7 +22,7 @@ #include -#define GF_MEM_POOL_PAD_BOUNDRY (sizeof(struct list_head)) +#define GF_MEM_POOL_PAD_BOUNDARY (sizeof(struct list_head)) struct mem_pool * @@ -41,8 +41,8 @@ mem_pool_new_fn (unsigned long sizeof_type, return NULL; } - pad = GF_MEM_POOL_PAD_BOUNDRY - - (sizeof_type % GF_MEM_POOL_PAD_BOUNDRY); + pad = GF_MEM_POOL_PAD_BOUNDARY - + (sizeof_type % GF_MEM_POOL_PAD_BOUNDARY); padded_sizeof_type = sizeof_type + pad; mem_pool = CALLOC (sizeof (*mem_pool), 1); -- cgit