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 b202cc5..db399eb 100644 --- a/newlib/libc/stdio/fileno.c +++ b/newlib/libc/stdio/fileno.c @@ -54,7 +54,7 @@ _DEFUN(fileno, (f), FILE * f) { int result; - CHECK_INIT (_REENT); + CHECK_INIT (_REENT, f); _flockfile (f); result = __sfileno (f); _funlockfile (f); |