summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/refill.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-08-13 17:49:45 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-08-13 17:49:45 +0000
commit1ec21d593015a4702f9273a78c0a2b16f1331465 (patch)
treebe28ef4b78cd8e42bb1260b077c110d69b4f5bbe /lib/libc/stdio/refill.c
parentc2bfae006a3feffafec5acb8e4ae77829b6f025f (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/refill.c')
-rw-r--r--lib/libc/stdio/refill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/refill.c b/lib/libc/stdio/refill.c
index d30194f8682a..845e0e6e0b64 100644
--- a/lib/libc/stdio/refill.c
+++ b/lib/libc/stdio/refill.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)refill.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: refill.c,v 1.3 1996/06/22 10:33:45 jraynard Exp $";
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
@@ -54,7 +54,7 @@ lflush(fp)
FILE *fp;
{
- if ((fp->_flags & (__SLBF|__SWR)) == __SLBF|__SWR)
+ if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
return (__sflush(fp));
return (0);
}