X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=ioengines.c;h=d08a511a0635eccc090528dfa2ff242fd5719209;hb=dc10c23ab9a7b34f50a4957789ce1f2e0883366b;hp=dd61af07a4432c802ba53d18535c2dc44ea2a8bf;hpb=afa2cfb29b6c28b55d19f71f59287e43ecba80dd;p=fio.git diff --git a/ioengines.c b/ioengines.c index dd61af07..d08a511a 100644 --- a/ioengines.c +++ b/ioengines.c @@ -692,17 +692,17 @@ int fio_show_ioengine_help(const char *engine) } td.o.ioengine = (char *)engine; - io_ops = load_ioengine(&td); + td.io_ops = load_ioengine(&td); - if (!io_ops) { + if (!td.io_ops) { log_info("IO engine %s not found\n", engine); return 1; } - if (io_ops->options) - ret = show_cmd_help(io_ops->options, sep); + if (td.io_ops->options) + ret = show_cmd_help(td.io_ops->options, sep); else - log_info("IO engine %s has no options\n", io_ops->name); + log_info("IO engine %s has no options\n", td.io_ops->name); free_ioengine(&td); return ret;