From f13d422be0cefbdd24693bb456ce9eaeea274bf5 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Thu, 18 May 2006 16:26:28 +0000 Subject: [PATCH] Fixup a type-mismatch that happened to not cause crashes purely by coincidence. --- parser/parser_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),