mirror of https://github.com/thesofproject/sof.git
sof_ri_info: print error messages on stderr
stderr is often highlighted with a different color. This also makes the usual >/dev/null redirection possible. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
2dbec9f2b2
commit
31b3a39202
|
@ -859,7 +859,8 @@ class BinReader():
|
|||
def error(self, logerror, off_delta=0):
|
||||
""" Prints 'error' log to the output
|
||||
"""
|
||||
print(self.offset_to_string(off_delta) + '\terror: ' + logerror)
|
||||
print(self.offset_to_string(off_delta) + '\terror: ' + logerror,
|
||||
file=sys.stderr)
|
||||
|
||||
# Data Model
|
||||
|
||||
|
|
Loading…
Reference in New Issue