summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i82830/vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel/i82830/vga.c')
-rw-r--r--src/northbridge/intel/i82830/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/i82830/vga.c b/src/northbridge/intel/i82830/vga.c
index 37c967414b..66b591b548 100644
--- a/src/northbridge/intel/i82830/vga.c
+++ b/src/northbridge/intel/i82830/vga.c
@@ -42,7 +42,7 @@ static void vga_init(device_t dev)
"type %x\n", file->type, CBFS_TYPE_MBI);
} else {
mbi = (void *) CBFS_SUBHEADER(file);
- mbi_len = file->len;
+ mbi_len = ntohl(file->len);
}
} else {
printk(BIOS_INFO, "Could not find MBI.\n");