Skip to content
Commit 9bb93180 authored by Peter Maydell's avatar Peter Maydell
Browse files

Revert "bsd-user: replace fprintf(stderr, ...) with error_report()"



This reverts commit 1fba5095.

That commit converted various fprintf(stderr, ...) calls to
use error_report(); however none of these bsd-user files include
a header which gives a prototype for error_report, so this
causes compiler warnings. Since these are just straightforward
reporting of command line errors, we should handle these in the
obvious way by printing to stderr, as we do for linux-user.
There's no need to drag in the error-handling framework for this,
especially since user-mode doesn't have the "maybe we need to
send this to the monitor" issues system emulation does.

Acked-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent d7d3d609
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment