Merge branch 'wip-ifed-rados' of https://github.com/ifed01/fio
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index a9486de9b7fbea40af8bf98237dcff15d1d0d69d..a9ee1cee42aa486deb11b504868f5763a23eecca 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -491,7 +491,7 @@ static const char *opt_type_name(struct fio_option *o)
        compiletime_assert(ARRAY_SIZE(opt_type_names) - 1 == FIO_OPT_UNSUPPORTED,
                                "opt_type_names[] index");
 
-       if (o->type >= 0 && o->type <= FIO_OPT_UNSUPPORTED)
+       if (o->type <= FIO_OPT_UNSUPPORTED)
                return opt_type_names[o->type];
 
        return "OPT_UNKNOWN?";