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 <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index b59dd22..1119a98 100644
--- a/options.c
+++ b/options.c
@@ -1118,7 +1118,7 @@
},
{
.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),