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:
@@ -947,8 +947,10 @@ slab *
|
|||||||
HashedObjectCache::ObjectSlab(void *object) const
|
HashedObjectCache::ObjectSlab(void *object) const
|
||||||
{
|
{
|
||||||
Link *link = hash_table.Lookup(object);
|
Link *link = hash_table.Lookup(object);
|
||||||
if (link == NULL)
|
if (link == NULL) {
|
||||||
panic("object cache: requested object missing from hash table");
|
panic("object cache: requested object %p missing from hash table",
|
||||||
|
object);
|
||||||
|
}
|
||||||
return link->parent;
|
return link->parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user