Fix an error in a KASSERT string: it's pipe_free_kmem(), not
pipespace(), that contains this KASSERT.
This commit is contained in:
parent
bbe513dbf8
commit
26518e8d8c
@ -1351,7 +1351,7 @@ pipe_free_kmem(cpipe)
|
|||||||
{
|
{
|
||||||
|
|
||||||
KASSERT(cpipe->pipe_mtxp == NULL || !mtx_owned(PIPE_MTX(cpipe)),
|
KASSERT(cpipe->pipe_mtxp == NULL || !mtx_owned(PIPE_MTX(cpipe)),
|
||||||
("pipespace: pipe mutex locked"));
|
("pipe_free_kmem: pipe mutex locked"));
|
||||||
|
|
||||||
if (cpipe->pipe_buffer.buffer != NULL) {
|
if (cpipe->pipe_buffer.buffer != NULL) {
|
||||||
if (cpipe->pipe_buffer.size > PIPE_SIZE)
|
if (cpipe->pipe_buffer.size > PIPE_SIZE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user