Date: Sun, 05 Apr 2015 13:12:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199172] [patch] wrong KASSERT msg in uma_zone_set_fini/freef() Message-ID: <bug-199172-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199172 Bug ID: 199172 Summary: [patch] wrong KASSERT msg in uma_zone_set_fini/freef() Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: luke.tw@gmail.com Keywords: patch Index: sys/vm/uma_core.c =================================================================== --- sys/vm/uma_core.c (revision 281078) +++ sys/vm/uma_core.c (working copy) @@ -3060,7 +3060,7 @@ uma_zone_set_fini(uma_zone_t zone, uma_fini fini) 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")); @@ -3100,7 +3100,7 @@ uma_zone_set_freef(uma_zone_t zone, uma_free freef 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); -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199172-8>