summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/wrtvid
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1996-02-16 00:13:23 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1996-02-16 00:13:23 +0000
commit2713b15b3db2be7a272244702deaa00bb955198b (patch)
tree33f687791e892c6e919546a534bc895866b505b5 /sys/arch/mvme68k/stand/wrtvid
parent9c4fda775695243450930786c3a558ec235d53a4 (diff)
Fixes for mvme68k tape and disk bootloaders.
fix argument parsing for disk and tape boot bootsd/boot.c bugcrt/m68k/Makefile.inc tape boot was broken completely bootst/bootst.c minor bug if bootloader was specific size (aout exec header is 0x20 not 0x30). writvid/wrtvid.c
Diffstat (limited to 'sys/arch/mvme68k/stand/wrtvid')
-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);