diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2001-05-24 18:06:22 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2001-05-24 18:06:22 +0000 |
| commit | 0cea69308462cf58b5a63e15b217a180a61702a4 (patch) | |
| tree | 663d5bdc9a99f58eeb79bd2aa3508b92fbfbcef6 | |
| parent | 190609dd48b42678141934248d836da0c67471b1 (diff) | |
Notes
| -rw-r--r-- | sys/kern/sys_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index c3508e05507f..c347a5852161 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -500,7 +500,8 @@ pipe_read(fp, uio, cred, flags, p) error = EAGAIN; } else { rpipe->pipe_state |= PIPE_WANTR; - if ((error = tsleep(rpipe, PRIBIO|PCATCH, "piperd", 0)) == 0) + if ((error = tsleep(rpipe, PRIBIO | PCATCH, + "piperd", 0)) == 0) error = pipelock(rpipe, 1); } if (error) |
