]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Provide more information on failing checks in mutex_assert_is_owned()
authorkib <kib@FreeBSD.org>
Mon, 21 Mar 2016 06:48:11 +0000 (06:48 +0000)
committerkib <kib@FreeBSD.org>
Mon, 21 Mar 2016 06:48:11 +0000 (06:48 +0000)
commit7c5b09c965362ccd47a76006eee82e838187e03d
tree0fd622d9bf093f54c84165f419a66249f864d3f0
parent1e240521d214b088e33747a9cf9abbc4baae993f
Provide more information on failing checks in mutex_assert_is_owned()
and mutex_assert_not_owned().  snprintf() use in this context should
be safe.

Sponsored by: The FreeBSD Foundation
lib/libthr/thread/thr_mutex.c