svn commit: r261811 - head/sys/vm

Gleb Smirnoff glebius at FreeBSD.org
Wed Feb 12 20:11:21 UTC 2014


Author: glebius
Date: Wed Feb 12 20:11:20 2014
New Revision: 261811
URL: http://svnweb.freebsd.org/changeset/base/261811

Log:
  Fix function name in KASSERT().
  
  Submitted by:	hiren

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c	Wed Feb 12 20:09:27 2014	(r261810)
+++ head/sys/vm/vm_object.c	Wed Feb 12 20:11:20 2014	(r261811)
@@ -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);


More information about the svn-src-head mailing list