summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/putchar.c')
-rw-r--r--newlib/libc/stdio/putchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/putchar.c b/newlib/libc/stdio/putchar.c
index 903de072d..e1d748ae2 100644
--- a/newlib/libc/stdio/putchar.c
+++ b/newlib/libc/stdio/putchar.c
@@ -80,7 +80,7 @@ _DEFUN(_putchar_r, (ptr, c),
struct _reent *ptr _AND
int c)
{
- _REENT_SMALL_CHECK_INIT (_stdout_r (ptr));
+ _REENT_SMALL_CHECK_INIT (ptr);
return putc (c, _stdout_r (ptr));
}