From: Jens Axboe Date: Wed, 29 May 2013 08:45:16 +0000 (+0200) Subject: Fix bad merge of write_iops_log= option for fio 2.1 X-Git-Tag: fio-2.1.1~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;ds=sidebyside;h=577c83bd488cf3e92d4ccffd39659248bce8ccd3;p=fio.git Fix bad merge of write_iops_log= option for fio 2.1 We need to store the string. Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index d0c53b6c..1ca48017 100644 --- a/options.c +++ b/options.c @@ -2778,7 +2778,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "write_iops_log", .lname = "Write IOPS log", - .type = FIO_OPT_STR, + .type = FIO_OPT_STR_STORE, .off1 = td_var_offset(iops_log_file), .help = "Write log of IOPS during run", .category = FIO_OPT_C_LOG,