summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8557065..3ae2f55 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -824,8 +824,8 @@ retry:
PIPE_GET_GIANT(wpipe);
pipe_destroy_write_buffer(wpipe);
PIPE_DROP_GIANT(wpipe);
- pipeunlock(wpipe);
pipeselwakeup(wpipe);
+ pipeunlock(wpipe);
error = EPIPE;
goto error1;
}
OpenPOWER on IntegriCloud