diff --git a/parser/parser_policy.c b/parser/parser_policy.c index 6b646a363..3f98014d9 100644 --- a/parser/parser_policy.c +++ b/parser/parser_policy.c @@ -130,7 +130,7 @@ static void __any_regex(const void *nodep, const VISIT value, if (value == preorder || value == endorder) return; - if (any_regex_entries(*t)) { + if (any_regex_entries((*t)->entries)) { PERROR(_("ERROR profile %s contains policy elements not usable with this kernel:\n" "\t'*', '?', character ranges, and alternations are not allowed.\n" "\t'**' may only be used at the end of a rule.\n"),