aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fb/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fb/vesa.c')
-rw-r--r--sys/dev/fb/vesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c
index 96a8aaa8c9283..5fa4eb42ef2b1 100644
--- a/sys/dev/fb/vesa.c
+++ b/sys/dev/fb/vesa.c
@@ -816,7 +816,7 @@ vesa_bios_init(void)
}
if (bootverbose)
printf("VESA: INT 0x10 vector 0x%04x:0x%04x\n",
- X86BIOS_PHYSTOSEG(offs), X86BIOS_PHYSTOOFF(offs));
+ (offs >> 16) & 0xffff, offs & 0xffff);
x86bios_init_regs(&regs);
regs.R_AX = 0x4f00;