summaryrefslogtreecommitdiff
path: root/test/nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nop.c')
-rw-r--r--test/nop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nop.c b/test/nop.c
index 7fe2455..8e6bfb0 100644
--- a/test/nop.c
+++ b/test/nop.c
@@ -31,7 +31,7 @@ static int test_single_nop(struct io_uring *ring)
goto err;
}
- ret = io_uring_wait_completion(ring, &cqe);
+ ret = io_uring_wait_cqe(ring, &cqe);
if (ret < 0) {
printf("wait completion %d\n", ret);
goto err;
@@ -71,7 +71,7 @@ static int test_barrier_nop(struct io_uring *ring)
}
for (i = 0; i < 8; i++) {
- ret = io_uring_wait_completion(ring, &cqe);
+ ret = io_uring_wait_cqe(ring, &cqe);
if (ret < 0) {
printf("wait completion %d\n", ret);
goto err;