aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/vmware_vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 101d8aeac7..15609dd29a 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1141,7 +1141,7 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
s->vga.ds = graphic_console_init(vmsvga_update_display,
vmsvga_invalidate_display,
vmsvga_screen_dump,
- vmsvga_text_update, &s->vga);
+ vmsvga_text_update, s);
#ifdef CONFIG_BOCHS_VBE
/* XXX: use optimized standard vga accesses */