Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 20:11:20 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261811 - head/sys/vm
Message-ID:  <201402122011.s1CKBK2E068372@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402122011.s1CKBK2E068372>