mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
Fix dump output of expr tree
Make the accept information dump output be in hexidecimal like the other dumps so its easier to reference between them. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
35f89fc3d6
commit
92eae9d2d9
@ -591,7 +591,7 @@ void flip_tree(Node *node);
|
||||
class MatchFlag: public AcceptNode {
|
||||
public:
|
||||
MatchFlag(uint32_t flag, uint32_t audit): flag(flag), audit(audit) { }
|
||||
ostream &dump(ostream &os) { return os << '<' << flag << '>'; }
|
||||
ostream &dump(ostream &os) { return os << "< 0x" << hex << flag << '>'; }
|
||||
|
||||
uint32_t flag;
|
||||
uint32_t audit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user