diff options
author | truckman <truckman@FreeBSD.org> | 2003-12-08 01:18:04 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2003-12-08 01:18:04 +0000 |
commit | 27358f2607657c5c98e91535a38c9ce99366f5d9 (patch) | |
tree | b1fe943bb177afb27d41d78f0996100b6ec20bf2 /sys/netgraph/atm | |
parent | 0d24e4faddbeb48d576a432e3dd20bf76c045f96 (diff) | |
download | FreeBSD-src-27358f2607657c5c98e91535a38c9ce99366f5d9.zip FreeBSD-src-27358f2607657c5c98e91535a38c9ce99366f5d9.tar.gz |
The last argument to mtx_init() should be MTX_DEF, not 0. This is not a
functional change since MTX_DEF happens to be defined as 0.
Diffstat (limited to 'sys/netgraph/atm')
-rw-r--r-- | sys/netgraph/atm/ngatmbase.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/atm/ngatmbase.c b/sys/netgraph/atm/ngatmbase.c index 8a802c6..7881fa3 100644 --- a/sys/netgraph/atm/ngatmbase.c +++ b/sys/netgraph/atm/ngatmbase.c @@ -75,7 +75,8 @@ static struct mtx ngatm_unilist_mtx; static void uni_msg_init(void) { - mtx_init(&ngatm_unilist_mtx, "netgraph UNI msg header lists", NULL, 0); + mtx_init(&ngatm_unilist_mtx, "netgraph UNI msg header lists", NULL, + MTX_DEF); } /* |