diff options
Diffstat (limited to 'newlib/libc/stdio/fileno.c')
-rw-r--r-- | newlib/libc/stdio/fileno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fileno.c b/newlib/libc/stdio/fileno.c index b202cc5e3..57d091274 100644 --- a/newlib/libc/stdio/fileno.c +++ b/newlib/libc/stdio/fileno.c @@ -54,8 +54,8 @@ _DEFUN(fileno, (f), FILE * f) { int result; - CHECK_INIT (_REENT); _flockfile (f); + CHECK_INIT (f); result = __sfileno (f); _funlockfile (f); return result; |