summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 17:06:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 17:06:16 +0000
commit7341eb532368ea799ca4039f73493649d17bd5bb (patch)
tree2e591e39eef9a1785e00bb1516c096c7d4e7dbe9 /lib
parent04a9221adcfea8cdf59681fbd9a26ce39f54559e (diff)
((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')
-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);
}