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:
parent
458252a742
commit
adb9b459bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123541
@ -800,7 +800,8 @@ static const char *unimem_names[UNIMEM_TYPES] = {
|
||||
static 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
|
||||
|
Loading…
Reference in New Issue
Block a user