summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 816255d5e1..27f2d8dca2 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -98,7 +98,7 @@ struct rom_header *pci_rom_probe(struct device *dev)
|| dev->device != rom_data->device)
&& (vendev == mapped_vendev)) {
printk(BIOS_ERR, "ID mismatch: vendor ID %04x, "
- "device ID %04x\n", rom_data->vendor, rom_data->device);
+ "device ID %04x\n", dev->vendor, dev->device);
return NULL;
}