From: David Greenman Date: Fri, 17 Jun 1994 16:31:51 +0000 (+0000) Subject: Added a set of parans to an expression to make things a bit more clear. X-Git-Tag: FreeBSD-release/1.1.5~63 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/b4b359a93d3a005da8561f284e75bb481485a277 Added a set of parans to an expression to make things a bit more clear. --- diff --git a/lib/libc/stdio/fclose.c b/lib/libc/stdio/fclose.c index 2842a3526a..974cd44485 100644 --- a/lib/libc/stdio/fclose.c +++ b/lib/libc/stdio/fclose.c @@ -48,7 +48,7 @@ fclose(fp) { register int r; - if (!fp || fp->_flags == 0) { /* not open! */ + if (!fp || (fp->_flags == 0)) { /* not open! */ errno = EBADF; return (EOF); }