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:
parent
8df57ba89c
commit
d1cecd5f46
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user