diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-10-10 20:43:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-10-10 20:43:50 +0000 |
| commit | 6a40eccec3437e3b66131965cdd578dc5aca189a (patch) | |
| tree | 18d54d7ccbfd2890542a65a38e01ff57ad937a8a /sys/kern/subr_rman.c | |
| parent | 19d1491b60b0768832912d1964be6e687c1d9cd9 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
| -rw-r--r-- | sys/kern/subr_rman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index f9941daf6efe..1fbafd3aeaec 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -99,7 +99,7 @@ rman_init(struct rman *rm) panic("implement RMAN_GAUGE"); TAILQ_INIT(&rm->rm_list); - rm->rm_mtx = malloc(sizeof *rm->rm_mtx, M_RMAN, M_NOWAIT); + 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); |
