]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed bug in unused function.
authorOndrej Filip <feela@network.cz>
Mon, 14 Apr 2014 10:28:30 +0000 (12:28 +0200)
committerOndrej Filip <feela@network.cz>
Mon, 14 Apr 2014 10:28:30 +0000 (12:28 +0200)
lib/mempool.c

index 65072f9acb7e21cfb465dae069bb7d22cdd041cd..ec9854a9b55231ae03ed78ef73f93b339d830535 100644 (file)
@@ -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;
 }