From 082fb11948a5d8252b0f7cbcf719f0a1672ad57d Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 21 Oct 2018 12:57:08 +0100 Subject: [PATCH] whitespaces --- lib/pool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pool.c b/lib/pool.c index ac17f00ea..3419191ea 100644 --- a/lib/pool.c +++ b/lib/pool.c @@ -41,6 +41,7 @@ int pool_init(struct pool *p, size_t cnt, size_t blocksz, struct memory_type *m) serror("Failed to allocate memory for memory pool"); else debug(LOG_POOL | 4, "Allocated %#zx bytes for memory pool", p->len); + p->buffer_off = (char*) buffer - (char*) p; ret = queue_init(&p->queue, LOG2_CEIL(cnt), m);