summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-06-22 10:25:17 -0600
committerJens Axboe <axboe@kernel.dk>2020-06-22 10:25:17 -0600
commit98cbe6a1a29dd66a7cc758b753d051d0b319584f (patch)
tree87d83d2a0710762384066d1c280df0b46bfcc8dc /test
parent3e61f57d244166a66cb8a4866ad5aa3586258a77 (diff)
downloadliburing-98cbe6a1a29dd66a7cc758b753d051d0b319584f.tar.gz
liburing-98cbe6a1a29dd66a7cc758b753d051d0b319584f.tar.bz2
test/timeout-overflow: use #X for the timeout number
'th doesn't really work for 1/2/3 timeouts, just use # to make it clear we're dealing with the timeout number. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
-rw-r--r--test/timeout-overflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/timeout-overflow.c b/test/timeout-overflow.c
index 820e629..1074e2b 100644
--- a/test/timeout-overflow.c
+++ b/test/timeout-overflow.c
@@ -146,14 +146,14 @@ static int test_timeout_overflow()
case 4:
if (cqe->res == -ETIME) {
fprintf(stderr, "expected not return -ETIME "
- "for the %d'th timeout req\n", i - 1);
+ "for the #%d timeout req\n", i - 1);
goto err;
}
break;
case 5:
if (cqe->res != -ETIME) {
fprintf(stderr, "expected return -ETIME for "
- "the %d'th timeout req\n", i - 1);
+ "the #%d timeout req\n", i - 1);
goto err;
}
break;