summaryrefslogtreecommitdiff
path: root/src/modules/eina
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-06-12 15:44:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-06-12 23:34:40 +0200
commitefe5fbb7807729c66b9db42af2b564b1b3943fa3 (patch)
tree24038e961b22d7acf27faa7cf021955e31e5a064 /src/modules/eina
parent734e52d011ffd95e8af21ac22aa602647770ff29 (diff)
eina_chained_mempool: fix ERR arg format
Diffstat (limited to 'src/modules/eina')
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 68e7a03411..820ccd004e 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -231,7 +231,7 @@ _eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr)
231 // is it really a pointer returned by malloc 231 // is it really a pointer returned by malloc
232 if ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc) 232 if ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc)
233 { 233 {
234 ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).", 234 ERR("%p is %lu bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).",
235 ptr, ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc), pool, pool->name); 235 ptr, ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc), pool, pool->name);
236 return EINA_FALSE; 236 return EINA_FALSE;
237 } 237 }