Signed-off-by: Gerd Hoffmann kraxel@redhat.com --- vgasrc/bochsvga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vgasrc/bochsvga.c b/vgasrc/bochsvga.c index e92186a..71f9b9f 100644 --- a/vgasrc/bochsvga.c +++ b/vgasrc/bochsvga.c @@ -278,7 +278,7 @@ bochsvga_init(void) SET_VGA(VBE_capabilities, VBE_CAPABILITY_8BIT_DAC);
dprintf(1, "VBE DISPI: lfb_addr=%x, size %d MB\n", - lfb_addr, totalmem / 16); + lfb_addr, totalmem >> 20);
// Validate modes u16 en = dispi_read(VBE_DISPI_INDEX_ENABLE);