diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 21:03:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 21:03:38 +0000 |
| commit | 6008862bc2494a2094e15699f4f73fad800b6bcd (patch) | |
| tree | f7344c6a10fdc020dd02fe2ee1f244cb56f92bb6 /sys/kern/subr_rman.c | |
| parent | 96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
| -rw-r--r-- | sys/kern/subr_rman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index 119a967ecb03..85af088b86f9 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -90,7 +90,7 @@ rman_init(struct rman *rm) if (once == 0) { once = 1; TAILQ_INIT(&rman_head); - mtx_init(&rman_mtx, "rman head", MTX_DEF); + mtx_init(&rman_mtx, "rman head", NULL, MTX_DEF); } if (rm->rm_type == RMAN_UNINIT) @@ -102,7 +102,7 @@ rman_init(struct rman *rm) rm->rm_mtx = malloc(sizeof *rm->rm_mtx, M_RMAN, M_NOWAIT | M_ZERO); if (rm->rm_mtx == 0) return ENOMEM; - mtx_init(rm->rm_mtx, "rman", MTX_DEF); + mtx_init(rm->rm_mtx, "rman", NULL, MTX_DEF); mtx_lock(&rman_mtx); TAILQ_INSERT_TAIL(&rman_head, rm, rm_link); |
