Date: Sun, 12 Apr 2015 07:24:10 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r281458 - stable/10/sys/vm Message-ID: <201504120724.t3C7OAAO024126@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sun Apr 12 07:24:10 2015 New Revision: 281458 URL: https://svnweb.freebsd.org/changeset/base/281458 Log: MFC r281113: Fix wrong kassert msg in uma. PR: 199172 Modified: stable/10/sys/vm/uma_core.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/uma_core.c ============================================================================== --- stable/10/sys/vm/uma_core.c Sun Apr 12 07:05:20 2015 (r281457) +++ stable/10/sys/vm/uma_core.c Sun Apr 12 07:24:10 2015 (r281458) @@ -3029,7 +3029,7 @@ uma_zone_set_fini(uma_zone_t zone, uma_f uma_keg_t keg; keg = zone_first_keg(zone); - KASSERT(keg != NULL, ("uma_zone_set_init: Invalid zone type")); + KASSERT(keg != NULL, ("uma_zone_set_fini: Invalid zone type")); KEG_LOCK(keg); KASSERT(keg->uk_pages == 0, ("uma_zone_set_fini on non-empty keg")); @@ -3069,7 +3069,7 @@ uma_zone_set_freef(uma_zone_t zone, uma_ uma_keg_t keg; keg = zone_first_keg(zone); - KASSERT(keg != NULL, ("uma_zone_set_init: Invalid zone type")); + KASSERT(keg != NULL, ("uma_zone_set_freef: Invalid zone type")); KEG_LOCK(keg); keg->uk_freef = freef; KEG_UNLOCK(keg);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504120724.t3C7OAAO024126>