[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 8/8] error: Add a 'error: ' prefix to error_repor
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v3 8/8] error: Add a 'error: ' prefix to error_report() |
Date: |
Tue, 11 Jul 2017 05:07:42 -0700 |
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 <address@hidden>
---
util/qemu-error.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/qemu-error.c b/util/qemu-error.c
index c557c6ae47..3a3372b68b 100644
--- a/util/qemu-error.c
+++ b/util/qemu-error.c
@@ -203,6 +203,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: ");
--
2.11.0
- Re: [Qemu-devel] [PATCH v3 4/8] hw/i386: Improve some of the warning messages, (continued)
[Qemu-devel] [PATCH v3 3/8] Convert error_report() to warn_report(), Alistair Francis, 2017/07/11
[Qemu-devel] [PATCH v3 7/8] Convert error_report*_err() to warn_report*_err(), Alistair Francis, 2017/07/11
[Qemu-devel] [PATCH v3 6/8] error: Implement the warn and free Error functions, Alistair Francis, 2017/07/11
[Qemu-devel] [PATCH v3 8/8] error: Add a 'error: ' prefix to error_report(),
Alistair Francis <=
Re: [Qemu-devel] [PATCH v3 0/8] Implement a warning_report function, no-reply, 2017/07/11