[PATCH] Thread option didn't work
[fio.git] / init.c
diff --git a/init.c b/init.c
index 79b6e5cb0c0d4748a940d15b95d9d7d54402de5a..559ebc15d44708232f501aa7fae9b41c29348459 100644 (file)
--- a/init.c
+++ b/init.c
@@ -413,7 +413,7 @@ static struct fio_option options[] = {
        {
                .name   = "thread",
                .type   = FIO_OPT_STR_SET,
        {
                .name   = "thread",
                .type   = FIO_OPT_STR_SET,
-               .off1   = td_var_offset(thread),
+               .off1   = td_var_offset(use_thread),
                .help   = "Use threads instead of forks",
        },
        {
                .help   = "Use threads instead of forks",
        },
        {