summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/refill.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-13 17:06:15 +0000
committerderaadt <deraadt@openbsd.org>1996-08-13 17:06:15 +0000
commitdb0ef05643fe5fc4406f9eb2c5d8d14cb4ac01c9 (patch)
treec1770b73dec56aba85f40b49d0069ca2c00e138b /lib/libc/stdio/refill.c
parentRevert back to Theo's eeprom.h. (diff)
downloadwireguard-openbsd-db0ef05643fe5fc4406f9eb2c5d8d14cb4ac01c9.tar.xz
wireguard-openbsd-db0ef05643fe5fc4406f9eb2c5d8d14cb4ac01c9.zip
((fp->_flags & (__SLBF|__SWR)) == __SLBF|__SWR)
becomes ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) my guess at what proven@cygnus.com found
Diffstat (limited to 'lib/libc/stdio/refill.c')
-rw-r--r--lib/libc/stdio/refill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/refill.c b/lib/libc/stdio/refill.c
index f4eceeeb848..e096c43b2ed 100644
--- a/lib/libc/stdio/refill.c
+++ b/lib/libc/stdio/refill.c
@@ -53,7 +53,7 @@ lflush(fp)
FILE *fp;
{
- if ((fp->_flags & (__SLBF|__SWR)) == __SLBF|__SWR)
+ if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
return (__sflush(fp));
return (0);
}