aboutsummaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
commit6008862bc2494a2094e15699f4f73fad800b6bcd (patch)
treef7344c6a10fdc020dd02fe2ee1f244cb56f92bb6 /sys/netnatm
parent96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff)
downloadsrc-6008862bc2494a2094e15699f4f73fad800b6bcd.tar.gz
src-6008862bc2494a2094e15699f4f73fad800b6bcd.zip
Change callers of mtx_init() to pass in an appropriate lock type name. In
most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
Notes
Notes: svn path=/head/; revision=93818
Diffstat (limited to 'sys/netnatm')
-rw-r--r--sys/netnatm/natm_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c
index 6222799b1229..c3612c01fbd6 100644
--- a/sys/netnatm/natm_proto.c
+++ b/sys/netnatm/natm_proto.c
@@ -121,7 +121,7 @@ void natm_init()
LIST_INIT(&natm_pcbs);
bzero(&natmintrq, sizeof(natmintrq));
natmintrq.ifq_maxlen = natmqmaxlen;
- mtx_init(&natmintrq.ifq_mtx, "natm_inq", MTX_DEF);
+ mtx_init(&natmintrq.ifq_mtx, "natm_inq", NULL, MTX_DEF);
natmintrq_present = 1;
}