1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Fix function name in KASSERT().

Submitted by:	hiren
This commit is contained in:
Gleb Smirnoff 2014-02-12 20:11:20 +00:00
parent 28ea625437
commit 5f3563b0a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261811

View File

@ -676,8 +676,7 @@ vm_object_destroy(vm_object_t object)
if (object->cred != NULL) {
KASSERT(object->type == OBJT_DEFAULT ||
object->type == OBJT_SWAP,
("vm_object_terminate: non-swap obj %p has cred",
object));
("%s: non-swap obj %p has cred", __func__, object));
swap_release_by_cred(object->charge, object->cred);
object->charge = 0;
crfree(object->cred);