On 07/07/2017 08:21 PM, Alistair Francis wrote:
As we don't regard error messages as a stable API the let's add a
'error: ' prefix to the original error_report() messages.

Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

---

  util/qemu-error.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/util/qemu-error.c b/util/qemu-error.c
index b555247e24..cf1eb8e8b9 100644
--- a/util/qemu-error.c
+++ b/util/qemu-error.c
@@ -202,6 +202,7 @@ static void vreport(report_type type, const char *fmt, 
va_list ap)
switch (type) {
      case REPORT_TYPE_ERROR:
+        error_printf("error: ");
          break;
      case REPORT_TYPE_WARNING:
          error_printf("warning: ");


Reply via email to