2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 18:17:09 +00:00

Don't use hardcoded cerr in hfa.h State::dump

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2024-11-06 18:00:16 -08:00
parent 8df57ba89c
commit d1cecd5f46

View File

@ -265,7 +265,7 @@ public:
ostream &dump(ostream &os) ostream &dump(ostream &os)
{ {
cerr << *this << "\n"; os << *this << "\n";
for (StateTrans::iterator i = trans.begin(); i != trans.end(); i++) { for (StateTrans::iterator i = trans.begin(); i != trans.end(); i++) {
os << " " << i->first.c << " -> " << *i->second << "\n"; os << " " << i->first.c << " -> " << *i->second << "\n";
} }