mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-15 09:27:27 +00:00
pci: Fix log message for PCI rom exceptions.
It should log device name, not just "PCIDevice".
This commit is contained in:
@@ -191,7 +191,7 @@ int PCIDevice::attach_exp_rom_image(const std::string img_path)
|
|||||||
this->exp_bar_cfg = ~(this->exp_rom_size - 1);
|
this->exp_bar_cfg = ~(this->exp_rom_size - 1);
|
||||||
}
|
}
|
||||||
catch (const std::exception& exc) {
|
catch (const std::exception& exc) {
|
||||||
LOG_F(ERROR, "PCIDevice: %s", exc.what());
|
LOG_F(ERROR, "%s: %s", this->pci_name.c_str(), exc.what());
|
||||||
result = -1;
|
result = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user