Fix startdelay option with s/m/h/d postfix
[fio.git] / options.c
index de691eb32144ef0468341639ef5fc79aab0d441c..923076752b6f6c03b979e52682c5de3c4dbf518f 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1218,7 +1218,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
        },
        {
                .name   = "startdelay",
-               .type   = FIO_OPT_INT,
+               .type   = FIO_OPT_STR_VAL_TIME,
                .off1   = td_var_offset(start_delay),
                .help   = "Only start job when this period has passed",
                .def    = "0",