From adb9b459bdbaf204f4402302c7676ff252365a88 Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Mon, 15 Dec 2003 01:36:54 +0000 Subject: [PATCH] Pass MTX_DEF instead of 0 as the last argument to mtx_init(). Submitted by: Gavin Atkinson --- sys/netgraph/atm/uni/ng_uni.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c index c6b61131e146..f823f6025cf2 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