diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-01-14 19:37:09 -0800 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-01-15 15:36:48 +1000 |
commit | d32934c84c72f57e78d430c22974677b7bcabe5d (patch) | |
tree | 694c065720d3a49007fe73142654cb735a44cc7f /target-sparc | |
parent | 133fe77437d3a23bf1fd70a231b4f29d5fa0571c (diff) |
error: Don't use error_report() for assertion msgs.
Use fprintf(stderr instead. This removes dependency of libqemuutil.a
on the monitor.
We can further justify this change, in that this code path should only
trigger under a fatal error condition. fprintf-stderr is probably the
appropriate medium as under a fatal error conidition the monitor itself
may be down and out for the count. So assertion failure messages should
go lowest common denominator - straight to stderr.
Fixes the build as reported by Kevin Wolf. Issue debugged and change
suggested by Luiz Capitulino. Issue introduced by
5d24ee70bcbcf578614193526bcd5ed30a8eb16c.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-sparc')
0 files changed, 0 insertions, 0 deletions