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:
Ingo Weinhold 2008-01-17 00:11:26 +00:00
parent 8a90d12e26
commit c21af3b299

View File

@ -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;
}