mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
s/ptr/entry
This commit is contained in:
parent
69f26823b9
commit
d40fd489f8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user