]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/bsdload.c
Revert "bsd-user: replace fprintf(stderr, ...) with error_report()"
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 2 Jun 2014 12:24:37 +0000 (13:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 2 Jun 2014 12:26:59 +0000 (13:26 +0100)
commit9bb931802e6ab5ab6947e3cb9cea934fc0724274
treefe6e1d0ffaed3979e4ddbb60427b1a18a995c845
parentd7d3d6092cb7edc75dc49fb90c86dd5425ab4805
Revert "bsd-user: replace fprintf(stderr, ...) with error_report()"

This reverts commit 1fba509527beb74bdcf50bc07ad3cd8244ad9c61.

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: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
bsd-user/bsdload.c
bsd-user/elfload.c
bsd-user/main.c