summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
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/kern/sys_pipe.c
parent96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff)
Notes
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r--sys/kern/sys_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 56b2c56c3518..8699ca27757e 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -265,7 +265,7 @@ pipe(td, uap)
td->td_retval[1] = fd;
rpipe->pipe_peer = wpipe;
wpipe->pipe_peer = rpipe;
- mtx_init(pmtx, "pipe mutex", MTX_DEF | MTX_RECURSE);
+ mtx_init(pmtx, "pipe mutex", NULL, MTX_DEF | MTX_RECURSE);
rpipe->pipe_mtxp = wpipe->pipe_mtxp = pmtx;
fdrop(rf, td);