diff options
Diffstat (limited to 'libio/iofgetpos.c')
-rw-r--r-- | libio/iofgetpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iofgetpos.c b/libio/iofgetpos.c index c45cfac..4cec7a7 100644 --- a/libio/iofgetpos.c +++ b/libio/iofgetpos.c @@ -41,7 +41,7 @@ _IO_fgetpos (fp, posp) { #ifdef EIO if (errno == 0) - errno = EIO; + __set_errno (EIO); #endif return EOF; } |