aboutsummaryrefslogtreecommitdiff
path: root/hw
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 /hw
parent1ecda02b24a13f501e747b8442934829d82698ae (diff)
error: Rename qemu_error_new() to qerror_report()
Diffstat (limited to 'hw')
-rw-r--r--hw/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 98123e6610..8bf86a5f1f 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -191,7 +191,7 @@ DeviceState *qdev_device_add(QemuOpts *opts)
/* find driver */
info = qdev_find_info(NULL, driver);
if (!info) {
- qemu_error_new(QERR_DEVICE_NOT_FOUND, driver);
+ qerror_report(QERR_DEVICE_NOT_FOUND, driver);
return NULL;
}
if (info->no_user) {