projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify pci_slot_get_irq().
[seabios.git]
/
src
/
optionroms.c
diff --git
a/src/optionroms.c
b/src/optionroms.c
index be02f2aa245c51631582637c7e72d836a51a1b20..2832eab1ab42b696292faf3eec1090ac0f99d003 100644
(file)
--- a/
src/optionroms.c
+++ b/
src/optionroms.c
@@
-483,7
+483,7
@@
vga_setup(void)
init_optionrom((void*)BUILD_ROM_START, 0, 1);
} else {
// Clear option rom memory
- memset((void*)RomEnd, 0,
_
max_rom() - RomEnd);
+ memset((void*)RomEnd, 0, max_rom() - RomEnd);
// Find and deploy PCI VGA rom.
struct pci_device *pci;