summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2020-02-11 02:46:20 +0100
committerGuillem Jover <guillem@hadrons.org>2020-02-14 14:39:28 +0100
commit9502d6d6465c58b812efe23da3a53fc34735e9b6 (patch)
tree47a4e589581e38ff446a8cdd4bf564eff17dbf2d
parent8bf676e03ad94d3ad57936cf55f52e711d26bdc9 (diff)
downloadliburing-9502d6d6465c58b812efe23da3a53fc34735e9b6.tar.gz
liburing-9502d6d6465c58b812efe23da3a53fc34735e9b6.tar.bz2
test: Unify queue init failed error message
Signed-off-by: Guillem Jover <guillem@hadrons.org>
-rw-r--r--test/read-write.c2
-rw-r--r--test/send_recv.c2
-rw-r--r--test/send_recvmsg.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/read-write.c b/test/read-write.c
index 3e6f1d2..c18993c 100644
--- a/test/read-write.c
+++ b/test/read-write.c
@@ -288,7 +288,7 @@ static int has_nonvec_read(void)
ret = io_uring_queue_init(1, &ring, 0);
if (ret) {
- fprintf(stderr, "queue init: %d\n", ret);
+ fprintf(stderr, "queue init failed: %d\n", ret);
exit(ret);
}
diff --git a/test/send_recv.c b/test/send_recv.c
index 0715f6f..6a56744 100644
--- a/test/send_recv.c
+++ b/test/send_recv.c
@@ -130,7 +130,7 @@ static int do_send(void)
ret = io_uring_queue_init(1, &ring, 0);
if (ret) {
- fprintf(stderr, "queue init fail: %d\n", ret);
+ fprintf(stderr, "queue init failed: %d\n", ret);
return 1;
}
diff --git a/test/send_recvmsg.c b/test/send_recvmsg.c
index b208749..c4a8735 100644
--- a/test/send_recvmsg.c
+++ b/test/send_recvmsg.c
@@ -126,7 +126,7 @@ static int do_sendmsg(void)
ret = io_uring_queue_init(1, &ring, 0);
if (ret) {
- fprintf(stderr, "queue init fail: %d\n", ret);
+ fprintf(stderr, "queue init failed: %d\n", ret);
return 1;
}