aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fputs.c')
-rw-r--r--newlib/libc/stdio/fputs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c
index 93537b9..24a108b 100644
--- a/newlib/libc/stdio/fputs.c
+++ b/newlib/libc/stdio/fputs.c
@@ -86,7 +86,7 @@ _DEFUN(_fputs_r, (ptr, s, fp),
uio.uio_iov = &iov;
uio.uio_iovcnt = 1;
- CHECK_INIT(ptr);
+ CHECK_INIT(ptr, fp);
_flockfile (fp);
result = __sfvwrite_r (ptr, fp, &uio);