From 357f618e3905a33fcc47f1f72a4657c5fc68c7d7 Mon Sep 17 00:00:00 2001 From: Aaron Carroll Date: Wed, 20 Feb 2008 09:14:13 +0100 Subject: [PATCH] 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 --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.25.1