From: Jens Axboe Date: Wed, 10 Apr 2013 11:07:43 +0000 (+0200) Subject: parse: set invalid group on option with no group set X-Git-Tag: fio-2.1~57^2~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ffd7821f3dadaf8972730d0543301f77d1956a47;ds=sidebyside parse: set invalid group on option with no group set Signed-off-by: Jens Axboe --- diff --git a/parse.c b/parse.c index 927f78bd..606c54bb 100644 --- a/parse.c +++ b/parse.c @@ -1171,6 +1171,7 @@ void option_init(struct fio_option *o) if (!o->category) { log_info("Options %s: no category defined. Setting to misc\n", o->name); o->category = FIO_OPT_C_GENERAL; + o->group = FIO_OPT_G_INVALID; } if (o->type == FIO_OPT_STR || o->type == FIO_OPT_STR_STORE || o->type == FIO_OPT_STR_MULTI)