diff options
Diffstat (limited to 'newlib/libc/stdio/puts.c')
-rw-r--r-- | newlib/libc/stdio/puts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/puts.c b/newlib/libc/stdio/puts.c index bf32d04..e6c4d2e 100644 --- a/newlib/libc/stdio/puts.c +++ b/newlib/libc/stdio/puts.c @@ -91,7 +91,7 @@ _DEFUN(_puts_r, (ptr, s), uio.uio_iovcnt = 2; _REENT_SMALL_CHECK_INIT (ptr); - return (__sfvwrite (_stdout_r (ptr), &uio) ? EOF : '\n'); + return (__sfvwrite_r (ptr, _stdout_r (ptr), &uio) ? EOF : '\n'); } #ifndef _REENT_ONLY |