summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHrvoje Zeba <zeba.hrvoje@gmail.com>2019-11-04 19:42:53 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-04 19:42:53 -0700
commit72bb93940b5418dbef247f69c2ef4fd9f9fd8581 (patch)
treed37b55b4b893c88c83bde361acc13d8af26970be
parent46e870e97654fdb5470c8c92c1aed1fb8ff4c103 (diff)
downloadliburing-72bb93940b5418dbef247f69c2ef4fd9f9fd8581.tar.gz
liburing-72bb93940b5418dbef247f69c2ef4fd9f9fd8581.tar.bz2
Printout correct failure locations in test/timeout.c
Some printouts were misleading, probably a c/p bug. Signed-off-by: Hrvoje Zeba <zeba.hrvoje@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/timeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/timeout.c b/test/timeout.c
index ace17f1..9671b63 100644
--- a/test/timeout.c
+++ b/test/timeout.c
@@ -722,7 +722,7 @@ int main(int argc, char *argv[])
ret = test_multi_timeout(&ring);
if (ret) {
- fprintf(stderr, "test_single_timeout failed\n");
+ fprintf(stderr, "test_multi_timeout failed\n");
return ret;
}
@@ -773,7 +773,7 @@ int main(int argc, char *argv[])
*/
ret = test_single_timeout_exit(&ring);
if (ret) {
- fprintf(stderr, "test_single_timeout_nr failed\n");
+ fprintf(stderr, "test_single_timeout_exit failed\n");
return ret;
}