It set .name twice, the last one was supposed to be .help instead.
Also kill options->opt_set, it's not used.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
.name = "ratecycle",
.type = FIO_OPT_INT,
.off1 = td_var_offset(ratecycle),
.name = "ratecycle",
.type = FIO_OPT_INT,
.off1 = td_var_offset(ratecycle),
- .name = "Window average for rate limits (msec)",
+ .help = "Window average for rate limits (msec)",
void *cb; /* callback */
const char *help; /* help text for option */
const char *def; /* default setting */
void *cb; /* callback */
const char *help; /* help text for option */
const char *def; /* default setting */
- char opt_set; /* option was set */
};
typedef int (str_cb_fn)(void *, char *);
};
typedef int (str_cb_fn)(void *, char *);