summaryrefslogtreecommitdiff
path: root/src/aio
diff options
context:
space:
mode:
Diffstat (limited to 'src/aio')
-rw-r--r--src/aio/aio_suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio/aio_suspend.c b/src/aio/aio_suspend.c
index 2391d786..dfa524bf 100644
--- a/src/aio/aio_suspend.c
+++ b/src/aio/aio_suspend.c
@@ -61,7 +61,7 @@ int aio_suspend(const struct aiocb *const cbs[], int cnt, const struct timespec
break;
}
- ret = __timedwait(pfut, expect, CLOCK_MONOTONIC, ts?&at:0, 0, 0, 1);
+ ret = __timedwait(pfut, expect, CLOCK_MONOTONIC, ts?&at:0, 1);
if (ret) {
errno = ret==ETIMEDOUT ? EAGAIN : ret;