diff options
Diffstat (limited to 'test/io_uring_enter.c')
-rw-r--r-- | test/io_uring_enter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/io_uring_enter.c b/test/io_uring_enter.c index 51ab8bb..d6e407e 100644 --- a/test/io_uring_enter.c +++ b/test/io_uring_enter.c @@ -146,9 +146,9 @@ reap_events(struct io_uring *ring, unsigned nr) printf("Reaping %u I/Os\n", nr); gettimeofday(&start, NULL); while (left) { - ret = io_uring_wait_completion(ring, &cqe); + ret = io_uring_wait_cqe(ring, &cqe); if (ret < 0) { - printf("io_uring_wait_completion returned %d\n", ret); + printf("io_uring_wait_cqe returned %d\n", ret); printf("expected success\n"); exit(1); } |