summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/libreboot-utils/lib/file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/libreboot-utils/lib/file.c b/util/libreboot-utils/lib/file.c
index f3fff555..5ab00031 100644
--- a/util/libreboot-utils/lib/file.c
+++ b/util/libreboot-utils/lib/file.c
@@ -1001,9 +1001,7 @@ close_on_eintr(int *fd)
*/
#define fs_err_retry() \
if ((rval == -1) && \
- (errno == EINTR || \
- errno == EAGAIN || \
- errno == EWOULDBLOCK)) \
+ (errno == EINTR)) \
return 1; \
if (rval >= 0 && !errno) \
errno = saved_errno; \