Revision ab5b027e qemu-error.c

b/qemu-error.c
44 44
/*
45 45
 * Print an error message to current monitor if we have one, else to stderr.
46 46
 * Appends a newline to the message.
47
 * It's wrong to call this in a QMP monitor.  Use qemu_error_new() there.
47
 * It's wrong to call this in a QMP monitor.  Use qerror_report() there.
48 48
 */
49 49
void error_report(const char *fmt, ...)
50 50
{
......
56 56
    error_printf("\n");
57 57
}
58 58

  
59
void qemu_error_internal(const char *file, int linenr, const char *func,
60
                         const char *fmt, ...)
59
void qerror_report_internal(const char *file, int linenr, const char *func,
60
                            const char *fmt, ...)
61 61
{
62 62
    va_list va;
63 63
    QError *qerror;

Also available in: Unified diff