Print the missing object.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8a90d12e26
commit
c21af3b299
@ -947,8 +947,10 @@ slab *
|
||||
HashedObjectCache::ObjectSlab(void *object) const
|
||||
{
|
||||
Link *link = hash_table.Lookup(object);
|
||||
if (link == NULL)
|
||||
panic("object cache: requested object missing from hash table");
|
||||
if (link == NULL) {
|
||||
panic("object cache: requested object %p missing from hash table",
|
||||
object);
|
||||
}
|
||||
return link->parent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user