diff options
Diffstat (limited to 'newlib/libc/stdio/fvwrite.c')
-rw-r--r-- | newlib/libc/stdio/fvwrite.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/stdio/fvwrite.c b/newlib/libc/stdio/fvwrite.c index d3878dc17..f196b3cfe 100644 --- a/newlib/libc/stdio/fvwrite.c +++ b/newlib/libc/stdio/fvwrite.c @@ -61,11 +61,7 @@ _DEFUN(__sfvwrite_r, (ptr, fp, uio), /* make sure we can write */ if (cantwrite (ptr, fp)) - { - fp->_flags |= __SERR; - ptr->_errno = EBADF; - return EOF; - } + return EOF; iov = uio->uio_iov; len = 0; |