Mark do_verify and verify_fatal as booleans
[fio.git] / options.c
index 62bbb43c893a08d21be4418a8f2c68932af35066..f1ee6bcf1db868c44a9e0d212bd3172e71c24053 100644 (file)
--- a/options.c
+++ b/options.c
@@ -651,7 +651,7 @@ static struct fio_option options[] = {
        },
        {
                .name   = "do_verify",
-               .type   = FIO_OPT_INT,
+               .type   = FIO_OPT_BOOL,
                .off1   = td_var_offset(do_verify),
                .help   = "Run verification stage after write",
                .def    = "1",
@@ -690,7 +690,7 @@ static struct fio_option options[] = {
        },
        {
                .name   = "verify_fatal",
-               .type   = FIO_OPT_INT,
+               .type   = FIO_OPT_BOOL,
                .off1   = td_var_offset(verify_fatal),
                .def    = "0",
                .help   = "Exit on a single verify failure, don't continue",