mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-05 00:35:13 +00:00
parser: fixup remove struct from the audit bool conversion
This removes the struct wrapper used in the previous patch to ensure that all uses are properly converted. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -51,8 +51,8 @@ static int file_comp(const void *c1, const void *c2)
|
||||
if ((*e1)->deny != (*e2)->deny)
|
||||
return (*e1)->deny < (*e2)->deny ? -1 : 1;
|
||||
|
||||
if ((*e1)->audit.audit != (*e2)->audit.audit)
|
||||
return (*e1)->audit.audit < (*e2)->audit.audit ? -1 : 1;
|
||||
if ((*e1)->audit != (*e2)->audit)
|
||||
return (*e1)->audit < (*e2)->audit ? -1 : 1;
|
||||
|
||||
return strcmp((*e1)->name, (*e2)->name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user