summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/wbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/wbuf.c')
-rw-r--r--newlib/libc/stdio/wbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/wbuf.c b/newlib/libc/stdio/wbuf.c
index 29dd03e37..e7ddb4913 100644
--- a/newlib/libc/stdio/wbuf.c
+++ b/newlib/libc/stdio/wbuf.c
@@ -40,7 +40,7 @@ _DEFUN(__swbuf, (c, fp),
/* Ensure stdio has been initialized. */
- CHECK_INIT (fp);
+ CHECK_INIT (_REENT);
/*
* In case we cannot write, or longjmp takes us out early,