Pass MTX_DEF instead of 0 as the last argument to mtx_init().

Submitted by:	Gavin Atkinson <gavin+freebsdc@ury.york.ac.uk>
This commit is contained in:
Don Lewis 2003-12-15 01:36:54 +00:00
parent 458252a742
commit adb9b459bd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123541

View File

@ -800,7 +800,8 @@ static const char *unimem_names[UNIMEM_TYPES] = {
static void static void
uni_init(void) uni_init(void)
{ {
mtx_init(&nguni_unilist_mtx, "netgraph UNI structure lists", NULL, 0); mtx_init(&nguni_unilist_mtx, "netgraph UNI structure lists", NULL,
MTX_DEF);
} }
static void static void