diff options
Diffstat (limited to 'test/io_uring_register.c')
-rw-r--r-- | test/io_uring_register.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/io_uring_register.c b/test/io_uring_register.c index 61ea64e..0ffdee7 100644 --- a/test/io_uring_register.c +++ b/test/io_uring_register.c @@ -423,14 +423,14 @@ ioring_poll(struct io_uring *ring, int fd, int fixed) return 1; } - ret = io_uring_wait_completion(ring, &cqe); + ret = io_uring_wait_cqe(ring, &cqe); if (ret < 0) { - printf("io_uring_wait_completion failed with %d\n", ret); + printf("io_uring_wait_cqe failed with %d\n", ret); return 1; } ret = 0; if (cqe->res != POLLOUT) { - printf("io_uring_wait_completion: expected 0x%.8x, got 0x%.8x\n", + printf("io_uring_wait_cqe: expected 0x%.8x, got 0x%.8x\n", POLLOUT, cqe->res); ret = 1; } |