From 92a1a1d701f8af640859a75cc74f82b7bf9e3a0a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 24 Nov 2018 15:10:39 -0700 Subject: [PATCH] options: fix 'unit_base' being of the wrong type Fixes: https://github.com/axboe/fio/issues/717 Signed-off-by: Jens Axboe --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- 2.25.1