summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_hash.c')
-rw-r--r--sys/kern/subr_hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_hash.c b/sys/kern/subr_hash.c
index 5533882..fe81286 100644
--- a/sys/kern/subr_hash.c
+++ b/sys/kern/subr_hash.c
@@ -93,7 +93,8 @@ hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask)
hashtbl = vhashtbl;
for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++)
- KASSERT(LIST_EMPTY(hp), ("%s: hash not empty", __func__));
+ KASSERT(LIST_EMPTY(hp), ("%s: hashtbl %p not empty "
+ "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc));
free(hashtbl, type);
}
OpenPOWER on IntegriCloud