summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/io_uring-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/io_uring-test.c b/examples/io_uring-test.c
index bbac3a7..0b975ad 100644
--- a/examples/io_uring-test.c
+++ b/examples/io_uring-test.c
@@ -56,6 +56,7 @@ int main(int argc, char *argv[])
break;
io_uring_prep_readv(sqe, fd, &iovecs[i], 1, offset);
offset += iovecs[i].iov_len;
+ i++;
} while (1);
ret = io_uring_submit(&ring);