summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-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 6b7b4beff..5373e2fa2 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 == EINTR)
+ if ((errno == EAGAIN) || (errno == EINTR))
continue;
errsv = errno;
close(fd);