parse: set invalid group on option with no group set
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Apr 2013 11:07:43 +0000 (13:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Apr 2013 11:07:43 +0000 (13:07 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c

diff --git a/parse.c b/parse.c
index 927f78bd97bf3d8db4953781bc60b158a11fe731..606c54bb62cf731136ad347e02fe6f0c6bba2d16 100644 (file)
--- 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)