summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2014-04-14 12:28:30 +0200
committerOndrej Filip <feela@network.cz>2014-04-14 12:28:30 +0200
commit7c4a8007255403d046d7e909f710f0b1ed1791b1 (patch)
tree65c1324d86429dc82ddae0ec1e041041db22dfc4 /lib
parent859cbd75e12966b09985b2a992da5ffb250938f8 (diff)
Fixed bug in unused function.
Diffstat (limited to 'lib')
-rw-r--r--lib/mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mempool.c b/lib/mempool.c
index 65072f9a..ec9854a9 100644
--- a/lib/mempool.c
+++ b/lib/mempool.c
@@ -250,7 +250,7 @@ lp_memsize(resource *r)
cnt++;
return ALLOC_OVERHEAD + sizeof(struct linpool) +
- cnt * (ALLOC_OVERHEAD + sizeof(sizeof(struct lp_chunk))) +
+ cnt * (ALLOC_OVERHEAD + sizeof(struct lp_chunk)) +
m->total + m->total_large;
}