summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-02 13:24:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-02 13:26:59 +0100
commit9bb931802e6ab5ab6947e3cb9cea934fc0724274 (patch)
treefe6e1d0ffaed3979e4ddbb60427b1a18a995c845 /scripts/qapi-commands.py
parentd7d3d6092cb7edc75dc49fb90c86dd5425ab4805 (diff)
downloadhqemu-9bb931802e6ab5ab6947e3cb9cea934fc0724274.zip
hqemu-9bb931802e6ab5ab6947e3cb9cea934fc0724274.tar.gz
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>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud