From 8066f6b6177acba17f61fecb9f04d04767fb1a96 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 9 May 2019 09:56:29 -0600 Subject: [PATCH] t/io_uring: improve EOPNOTSUPP message Put in one line and include kernel as well. Signed-off-by: Jens Axboe --- t/io_uring.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/io_uring.c b/t/io_uring.c index 208b58a5..62dee805 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -264,8 +264,7 @@ static int reap_events(struct submitter *s) if (cqe->res != BS) { printf("io: unexpected ret=%d\n", cqe->res); if (polled && cqe->res == -EOPNOTSUPP) - printf("Your filesystem/device doesn't " - "support polled IO\n"); + printf("Your filesystem/driver/kernel doesn't support polled IO\n"); return -1; } } -- 2.25.1