summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-12-05 19:36:59 +0000
committerDaniel Stone <daniel@fooishbar.org>2007-12-05 19:36:59 +0000
commit85dd8efac1bc0715f03c99d261b1c5d0980623e1 (patch)
tree05d276d3c8ca7618aa8c7bb9fa2e1a9cca796402 /os
parentb7f3618f3933a810778093fd47564a1e3bf3fde6 (diff)
WaitForSomething: Ignore EAGAIN
If select ever returns EAGAIN, don't bother complaining.
Diffstat (limited to 'os')
-rw-r--r--os/WaitFor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c
index 71ca53438..e6d45e68e 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -257,7 +257,7 @@ WaitForSomething(int *pClientsReady)
FatalError("WaitForSomething(): select: errno=%d\n",
selecterr);
}
- else if (selecterr != EINTR)
+ else if (selecterr != EINTR && selecterr != EAGAIN)
{
ErrorF("WaitForSomething(): select: errno=%d\n",
selecterr);