diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |