t/io_uring: improve EOPNOTSUPP message
authorJens Axboe <axboe@kernel.dk>
Thu, 9 May 2019 15:56:29 +0000 (09:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 May 2019 15:56:29 +0000 (09:56 -0600)
Put in one line and include kernel as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c

index 208b58a..62dee80 100644 (file)
@@ -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;
                        }
                }