aboutsummaryrefslogtreecommitdiff
path: root/libio/ioftell.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/ioftell.c')
-rw-r--r--libio/ioftell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/ioftell.c b/libio/ioftell.c
index 12b90b3..ec3b1a2 100644
--- a/libio/ioftell.c
+++ b/libio/ioftell.c
@@ -40,7 +40,7 @@ _IO_ftell (fp)
{
#ifdef EIO
if (errno == 0)
- errno = EIO;
+ __set_errno (EIO);
#endif
return -1L;
}