projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a09c7b5
)
Added a set of parans to an expression to make things a bit more clear.
author
David Greenman
<davidg@Root.COM>
Fri, 17 Jun 1994 16:31:51 +0000
(16:31 +0000)
committer
David Greenman
<davidg@Root.COM>
Fri, 17 Jun 1994 16:31:51 +0000
(16:31 +0000)
lib/libc/stdio/fclose.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libc/stdio/fclose.c
b/lib/libc/stdio/fclose.c
index
2842a35
..
974cd44
100644
(file)
--- a/
lib/libc/stdio/fclose.c
+++ b/
lib/libc/stdio/fclose.c
@@
-48,7
+48,7
@@
fclose(fp)
{
register int r;
{
register int r;
- if (!fp ||
fp->_flags == 0) {
/* not open! */
+ if (!fp ||
(fp->_flags == 0)) {
/* not open! */
errno = EBADF;
return (EOF);
}
errno = EBADF;
return (EOF);
}