summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/stand/wrtvid/wrtvid.c')
-rw-r--r--sys/arch/mvme68k/stand/wrtvid/wrtvid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/stand/wrtvid/wrtvid.c b/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
index 6d78b7d8660..b2a21ad4f18 100644
--- a/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
+++ b/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
@@ -51,7 +51,7 @@ main(argc, argv)
}else {
pcpul->vid_oss = 2;
}
- pcpul->vid_osl = (((stat.st_size -0x30) +511) / 512) *2;
+ pcpul->vid_osl = (((stat.st_size -0x20) +511) / 512) *2;
lseek(exe_file, 0x14, SEEK_SET);
read(exe_file, &exe_addr, 4);