summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/refill.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/refill.c')
-rw-r--r--newlib/libc/stdio/refill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/refill.c b/newlib/libc/stdio/refill.c
index 3f0b1a566..639ce6e24 100644
--- a/newlib/libc/stdio/refill.c
+++ b/newlib/libc/stdio/refill.c
@@ -41,7 +41,7 @@ _DEFUN(__srefill, (fp),
{
/* make sure stdio is set up */
- CHECK_INIT (fp);
+ CHECK_INIT (_REENT);
fp->_r = 0; /* largely a convenience for callers */