diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 8aef171243894d9b06e5ac740bfa5e8686fc4c1a (patch) | |
tree | f908d89518cbc0f801b11f1750100b49454326a1 /sys/kern/sys_pipe.c | |
parent | 7191deb01ed2d308d347683ba7c8e5ea66bab570 (diff) | |
download | src-8aef171243894d9b06e5ac740bfa5e8686fc4c1a.tar.gz src-8aef171243894d9b06e5ac740bfa5e8686fc4c1a.zip |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Notes
Notes:
svn path=/head/; revision=43311
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 6deefed3de88..66ddd5000821 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: sys_pipe.c,v 1.47 1999/01/27 10:10:02 bde Exp $ + * $Id: sys_pipe.c,v 1.48 1999/01/27 21:49:57 dillon Exp $ */ /* @@ -987,8 +987,8 @@ pipe_poll(fp, events, cred, p) if (events & (POLLOUT | POLLWRNORM)) if (wpipe == NULL || (wpipe->pipe_state & PIPE_EOF) || - ((wpipe->pipe_state & PIPE_DIRECTW) == 0) && - (wpipe->pipe_buffer.size - wpipe->pipe_buffer.cnt) >= PIPE_BUF) + (((wpipe->pipe_state & PIPE_DIRECTW) == 0) && + (wpipe->pipe_buffer.size - wpipe->pipe_buffer.cnt) >= PIPE_BUF)) revents |= events & (POLLOUT | POLLWRNORM); if ((rpipe->pipe_state & PIPE_EOF) || |