mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
error: Rename qemu_error_new() to qerror_report()
This commit is contained in:
parent
1ecda02b24
commit
ab5b027ee6
4 changed files with 49 additions and 49 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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue