diff --git a/parser/libapparmor_re/hfa.h b/parser/libapparmor_re/hfa.h index 1ba0f2cb2..55d8510e7 100644 --- a/parser/libapparmor_re/hfa.h +++ b/parser/libapparmor_re/hfa.h @@ -265,7 +265,7 @@ public: ostream &dump(ostream &os) { - cerr << *this << "\n"; + os << *this << "\n"; for (StateTrans::iterator i = trans.begin(); i != trans.end(); i++) { os << " " << i->first.c << " -> " << *i->second << "\n"; }