diff options
Diffstat (limited to 'newlib/libc/stdio/fputs.c')
-rw-r--r-- | newlib/libc/stdio/fputs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c index a4f18df2a..743794943 100644 --- a/newlib/libc/stdio/fputs.c +++ b/newlib/libc/stdio/fputs.c @@ -115,8 +115,6 @@ _fputs_r (struct _reent * ptr, CHECK_INIT(ptr, fp); _newlib_flockfile_start (fp); - if (ORIENT (fp, -1) != -1) - goto error; /* Make sure we can write. */ if (cantwrite (ptr, fp)) goto error; |