Android NDK already uses __errno in errno.h, rename variable __errno
to fix this conflict.
Signed-off-by: DevriesL <therkduan@gmail.com>
err = fio_ioring_queue_init(td);
if (err) {
err = fio_ioring_queue_init(td);
if (err) {
+ if (init_err == ENOSYS)
log_err("fio: your kernel doesn't support io_uring\n");
log_err("fio: your kernel doesn't support io_uring\n");
- td_verror(td, __errno, "io_queue_init");
+ td_verror(td, init_err, "io_queue_init");