mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
Fixup a type-mismatch that happened to not cause crashes purely by
coincidence.
This commit is contained in:
@@ -130,7 +130,7 @@ static void __any_regex(const void *nodep, const VISIT value,
|
|||||||
if (value == preorder || value == endorder)
|
if (value == preorder || value == endorder)
|
||||||
return;
|
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"
|
PERROR(_("ERROR profile %s contains policy elements not usable with this kernel:\n"
|
||||||
"\t'*', '?', character ranges, and alternations are not allowed.\n"
|
"\t'*', '?', character ranges, and alternations are not allowed.\n"
|
||||||
"\t'**' may only be used at the end of a rule.\n"),
|
"\t'**' may only be used at the end of a rule.\n"),
|
||||||
|
Reference in New Issue
Block a user