aboutsummaryrefslogtreecommitdiff
path: root/qemu-error.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-02 18:15:09 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 16:58:32 +0100
commitab5b027ee645f26320379d1d80cd96fdc944ecb5 (patch)
treef762dae3d3f5ef0abde481a8d684ce5a312670ce /qemu-error.c
parent1ecda02b24a13f501e747b8442934829d82698ae (diff)
error: Rename qemu_error_new() to qerror_report()
Diffstat (limited to 'qemu-error.c')
-rw-r--r--qemu-error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/qemu-error.c b/qemu-error.c
index 51e2abf636..0a175d8209 100644
--- a/qemu-error.c
+++ b/qemu-error.c
@@ -44,7 +44,7 @@ void error_printf(const char *fmt, ...)
/*
* Print an error message to current monitor if we have one, else to stderr.
* Appends a newline to the message.
- * It's wrong to call this in a QMP monitor. Use qemu_error_new() there.
+ * It's wrong to call this in a QMP monitor. Use qerror_report() there.
*/
void error_report(const char *fmt, ...)
{
@@ -56,8 +56,8 @@ void error_report(const char *fmt, ...)
error_printf("\n");
}
-void qemu_error_internal(const char *file, int linenr, const char *func,
- const char *fmt, ...)
+void qerror_report_internal(const char *file, int linenr, const char *func,
+ const char *fmt, ...)
{
va_list va;
QError *qerror;