summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shlibs/mount/src/tab_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c
index 2084b5861..a0f99f1fb 100644
--- a/shlibs/mount/src/tab_update.c
+++ b/shlibs/mount/src/tab_update.c
@@ -619,7 +619,7 @@ static int utab_lock(const char *filename)
while (flock(fd, LOCK_EX) < 0) {
int errsv;
- if ((errno == EAGAIN) || (errno == EINTR))
+ if (errno == EINTR)
continue;
errsv = errno;
close(fd);