diff options
Diffstat (limited to 'newlib/libc/stdio/fwrite.c')
-rw-r--r-- | newlib/libc/stdio/fwrite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c index 3443d95..ce77c8d 100644 --- a/newlib/libc/stdio/fwrite.c +++ b/newlib/libc/stdio/fwrite.c @@ -120,6 +120,7 @@ _DEFUN(_fwrite_r, (ptr, buf, size, count, fp), CHECK_INIT(ptr, fp); _flockfile (fp); + ORIENT (fp, -1); if (__sfvwrite_r (ptr, fp, &uio) == 0) { _funlockfile (fp); |