From: Jens Axboe Date: Sat, 24 Nov 2018 22:10:39 +0000 (-0700) Subject: options: fix 'unit_base' being of the wrong type X-Git-Tag: fio-3.13~101 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=92a1a1d701f8af640859a75cc74f82b7bf9e3a0a options: fix 'unit_base' being of the wrong type Fixes: https://github.com/axboe/fio/issues/717 Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 98187def..cf087edd 100644 --- a/options.c +++ b/options.c @@ -4551,7 +4551,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "unit_base", .lname = "Unit for quantities of data (Bits or Bytes)", - .type = FIO_OPT_INT, + .type = FIO_OPT_STR, .off1 = offsetof(struct thread_options, unit_base), .prio = 1, .posval = {