diff options
Diffstat (limited to 'test/fsync.c')
-rw-r--r-- | test/fsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fsync.c b/test/fsync.c index f127b17..de28c2c 100644 --- a/test/fsync.c +++ b/test/fsync.c @@ -39,7 +39,7 @@ static int test_single_fsync(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; @@ -107,7 +107,7 @@ static int test_barrier_fsync(struct io_uring *ring) } for (i = 0; i < 5; i++) { - ret = io_uring_wait_completion(ring, &cqe); + ret = io_uring_wait_cqe(ring, &cqe); if (ret < 0) { printf("child: wait completion %d\n", ret); goto err; |