summaryrefslogtreecommitdiff
path: root/test/poll-cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/poll-cancel.c')
-rw-r--r--test/poll-cancel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/poll-cancel.c b/test/poll-cancel.c
index 4a3626d..c318a61 100644
--- a/test/poll-cancel.c
+++ b/test/poll-cancel.c
@@ -99,6 +99,7 @@ int main(int argc, char *argv[])
pd->is_cancel, (long) cqe->res);
return 1;
}
+ io_uring_cqe_seen(&ring, cqe);
ret = io_uring_wait_completion(&ring, &cqe);
if (ret < 0) {
@@ -113,5 +114,6 @@ int main(int argc, char *argv[])
return 1;
}
+ io_uring_cqe_seen(&ring, cqe);
return 0;
}