summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-02-25 20:34:39 -0700
committerJens Axboe <axboe@kernel.dk>2020-02-25 21:52:32 -0700
commite4186753ad81eea6a80130e5faf1f63670db5dac (patch)
tree4261cec19ae3f39eb20cbfc6565c60497262265c
parentf8b966f08614ad0516c57858cbe61fb49ec2985a (diff)
downloadliburing-e4186753ad81eea6a80130e5faf1f63670db5dac.tar.gz
liburing-e4186753ad81eea6a80130e5faf1f63670db5dac.tar.bz2
test/link: fix typo
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/link.c b/test/link.c
index d900713..98cf55f 100644
--- a/test/link.c
+++ b/test/link.c
@@ -210,7 +210,7 @@ static int test_single_link_fail(struct io_uring *ring)
goto err;
}
if (i == 1 && cqe->res != -ECANCELED) {
- printf("sqe0 failed with %d, wanted -ECANCELED\n", cqe->res);
+ printf("sqe1 failed with %d, wanted -ECANCELED\n", cqe->res);
goto err;
}
io_uring_cqe_seen(ring, cqe);