qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9bb931: Revert "bsd-user: replace fprintf(std


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9bb931: Revert "bsd-user: replace fprintf(stderr, ...) wit...
Date: Mon, 02 Jun 2014 07:30:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9bb931802e6ab5ab6947e3cb9cea934fc0724274
      
https://github.com/qemu/qemu/commit/9bb931802e6ab5ab6947e3cb9cea934fc0724274
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M bsd-user/bsdload.c
    M bsd-user/elfload.c
    M bsd-user/main.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]