summaryrefslogtreecommitdiff
path: root/test/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/poll.c')
-rw-r--r--test/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/poll.c b/test/poll.c
index 02d7899..d22d9c5 100644
--- a/test/poll.c
+++ b/test/poll.c
@@ -69,7 +69,7 @@ int main(int argc, char *argv[])
}
do {
- ret = io_uring_wait_completion(&ring, &cqe);
+ ret = io_uring_wait_cqe(&ring, &cqe);
if (ret < 0) {
printf("child: wait completion %d\n", ret);
break;