From: Aaron Carroll Date: Wed, 20 Feb 2008 08:14:13 +0000 (+0100) Subject: fix hugepage-size type mismatch X-Git-Tag: fio-1.20-rc1~41 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=357f618e3905a33fcc47f1f72a4657c5fc68c7d7;p=fio.git fix hugepage-size type mismatch hugepage_size in thread_options is of type int, but listed in options.c as type long. This patch reconciles the two. Signed-off-by: Aaron Carroll Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index b59dd221..1119a980 100644 --- a/options.c +++ b/options.c @@ -1118,7 +1118,7 @@ static struct fio_option options[] = { }, { .name = "hugepage-size", - .type = FIO_OPT_STR_VAL, + .type = FIO_OPT_STR_VAL_INT, .off1 = td_var_offset(hugepage_size), .help = "When using hugepages, specify size of each page", .def = __stringify(FIO_HUGE_PAGE),