s/ptr/entry

This commit is contained in:
Joris Vink 2014-03-06 08:21:58 +01:00
parent 69f26823b9
commit d40fd489f8
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ kore_pool_get(struct kore_pool *pool)
entry = LIST_FIRST(&(pool->freelist));
if (entry->state != POOL_ELEMENT_FREE)
fatal("%s: element %p was not free", pool->name, ptr);
fatal("%s: element %p was not free", pool->name, entry);
LIST_REMOVE(entry, list);
entry->state = POOL_ELEMENT_BUSY;