summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2003-12-15 01:36:54 +0000
committertruckman <truckman@FreeBSD.org>2003-12-15 01:36:54 +0000
commit79971791cf9ec9c2f6f14171884d021b94f7de06 (patch)
tree657b0d5a1e975b53351dffdbb8b596bba9cd29b6 /sys/netgraph
parent4e5dbb61a0801de84944bbced511da182307a41f (diff)
downloadFreeBSD-src-79971791cf9ec9c2f6f14171884d021b94f7de06.zip
FreeBSD-src-79971791cf9ec9c2f6f14171884d021b94f7de06.tar.gz
Pass MTX_DEF instead of 0 as the last argument to mtx_init().
Submitted by: Gavin Atkinson <gavin+freebsdc@ury.york.ac.uk>
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/atm/uni/ng_uni.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c
index c6b6113..f823f60 100644
--- a/sys/netgraph/atm/uni/ng_uni.c
+++ b/sys/netgraph/atm/uni/ng_uni.c
@@ -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
OpenPOWER on IntegriCloud