aboutsummaryrefslogtreecommitdiff
path: root/libio/iofsetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofsetpos.c')
-rw-r--r--libio/iofsetpos.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libio/iofsetpos.c b/libio/iofsetpos.c
index 3809b6a0b0..1a71867e59 100644
--- a/libio/iofsetpos.c
+++ b/libio/iofsetpos.c
@@ -49,10 +49,8 @@ _IO_new_fsetpos (_IO_FILE *fp, const _IO_fpos_t *posp)
{
/* ANSI explicitly requires setting errno to a positive value on
failure. */
-#ifdef EIO
if (errno == 0)
__set_errno (EIO);
-#endif
result = EOF;
}
else