summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fcloseall.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fcloseall.c')
-rw-r--r--newlib/libc/stdio/fcloseall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fcloseall.c b/newlib/libc/stdio/fcloseall.c
index e5a3af277..58e61e4d0 100644
--- a/newlib/libc/stdio/fcloseall.c
+++ b/newlib/libc/stdio/fcloseall.c
@@ -66,7 +66,7 @@ int
_fcloseall_r (ptr)
struct _reent *ptr;
{
- return _fwalk (ptr, fclose);
+ return _fwalk_reent (ptr, _fclose_r);
}
#ifndef _REENT_ONLY