diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch) | |
tree | da30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/kern/sys_pipe.c | |
parent | 4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff) | |
download | FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
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 6deefed..66ddd50 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) || |