summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/feof.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/feof.c')
-rw-r--r--newlib/libc/stdio/feof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/feof.c b/newlib/libc/stdio/feof.c
index aff4e84c8..e8db65b86 100644
--- a/newlib/libc/stdio/feof.c
+++ b/newlib/libc/stdio/feof.c
@@ -57,7 +57,7 @@ _DEFUN(feof, (fp),
FILE * fp)
{
int result;
- CHECK_INIT(_REENT);
+ CHECK_INIT(_REENT, fp);
_flockfile (fp);
result = __sfeof (fp);
_funlockfile (fp);