mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 21:29:28 +00:00
pci: Fix log message for PCI rom exceptions.
It should log device name, not just "PCIDevice".
This commit is contained in:
parent
3978d0754d
commit
2998796c2c
@ -191,7 +191,7 @@ int PCIDevice::attach_exp_rom_image(const std::string img_path)
|
||||
this->exp_bar_cfg = ~(this->exp_rom_size - 1);
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user