Change ARRAY_SIZE to FIO_ARRAY_SIZE
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index f4cefcf6243edbd911cb4f274611912c440a5f07..c28d82efb0932a5cb37c8b2b9f715c09b78fbfb3 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -501,7 +501,7 @@ static int str_match_len(const struct value_pair *vp, const char *str)
 
 static const char *opt_type_name(const struct fio_option *o)
 {
-       compiletime_assert(ARRAY_SIZE(opt_type_names) - 1 == FIO_OPT_UNSUPPORTED,
+       compiletime_assert(FIO_ARRAY_SIZE(opt_type_names) - 1 == FIO_OPT_UNSUPPORTED,
                                "opt_type_names[] index");
 
        if (o->type <= FIO_OPT_UNSUPPORTED)