summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-05-19 04:33:58 +0000
committerAnand V. Avati <avati@amp.gluster.com>2009-05-19 21:13:22 +0530
commit25dc191c51efb97ec970b137edfe4557302b7357 (patch)
treee8ea956c5fd58aa8a109dd9df024fa98ae561c6c /libglusterfs/src
parent3aea8a66a457349e19bde40eb33510edd0597cff (diff)
mem-pool: Fix #define spelling
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/mem-pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
index a5bb3fcc203..5e385c85674 100644
--- a/libglusterfs/src/mem-pool.c
+++ b/libglusterfs/src/mem-pool.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
-#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);