Revision bd6c9a61 hw/qdev.c

b/hw/qdev.c
326 326
{
327 327
    DeviceInfo *info = dev->info;
328 328

  
329
    if (qdev_init(dev) < 0)
330
        hw_error("Initialization of device %s failed\n", info->name);
329
    if (qdev_init(dev) < 0) {
330
        error_report("Initialization of device %s failed\n", info->name);
331
        exit(1);
332
    }
331 333
}
332 334

  
333 335
/* Unlink device from bus and free the structure.  */

Also available in: Unified diff