diff options
Diffstat (limited to 'libio/ioftell.c')
-rw-r--r-- | libio/ioftell.c | 2 |
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; } |