diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/iofgets_u.c | 2 | ||||
-rw-r--r-- | libio/iofgetws_u.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofgets_u.c b/libio/iofgets_u.c index 5f6b7ffc55..9b32fea8a4 100644 --- a/libio/iofgets_u.c +++ b/libio/iofgets_u.c @@ -56,7 +56,7 @@ fgets_unlocked (buf, n, fp) /* If we read in some bytes and errno is EAGAIN, that error will be reported for next read. */ if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN) - && errno != EAGAIN)) + && errno != EAGAIN)) result = NULL; else { diff --git a/libio/iofgetws_u.c b/libio/iofgetws_u.c index 982dfe0852..1584beec1e 100644 --- a/libio/iofgetws_u.c +++ b/libio/iofgetws_u.c @@ -56,7 +56,7 @@ fgetws_unlocked (buf, n, fp) /* If we read in some bytes and errno is EAGAIN, that error will be reported for next read. */ if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN) - && errno != EAGAIN)) + && errno != EAGAIN)) result = NULL; else { |