From c21af3b29989bb771d9548edbaa5259201ee8b27 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 17 Jan 2008 00:11:26 +0000 Subject: [PATCH] Print the missing object. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23574 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/slab/Slab.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/slab/Slab.cpp b/src/system/kernel/slab/Slab.cpp index f0de142d38..a6da8976a5 100644 --- a/src/system/kernel/slab/Slab.cpp +++ b/src/system/kernel/slab/Slab.cpp @@ -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; }