diff options
Diffstat (limited to 'newlib/libc/stdio/fvwrite.c')
-rw-r--r-- | newlib/libc/stdio/fvwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/fvwrite.c b/newlib/libc/stdio/fvwrite.c index 031624d..75fc834 100644 --- a/newlib/libc/stdio/fvwrite.c +++ b/newlib/libc/stdio/fvwrite.c @@ -98,7 +98,7 @@ _DEFUN(__sfvwrite_r, (ptr, fp, uio), do { GETIOV (;); - w = (*fp->_write) (fp->_cookie, p, MIN (len, BUFSIZ)); + w = fp->_write (ptr, fp->_cookie, p, MIN (len, BUFSIZ)); if (w <= 0) goto err; p += w; @@ -191,7 +191,7 @@ _DEFUN(__sfvwrite_r, (ptr, fp, uio), else if (len >= (w = fp->_bf._size)) { /* write directly */ - w = (*fp->_write) (fp->_cookie, p, w); + w = fp->_write (ptr, fp->_cookie, p, w); if (w <= 0) goto err; } @@ -240,7 +240,7 @@ _DEFUN(__sfvwrite_r, (ptr, fp, uio), } else if (s >= (w = fp->_bf._size)) { - w = (*fp->_write) (fp->_cookie, p, w); + w = fp->_write (ptr, fp->_cookie, p, w); if (w <= 0) goto err; } |