wok-6.x rev 19871
linld/tazboot: fix magic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 17:22:13 2017 +0200 (2017-03-30) |
parents | e6f0efe26374 |
children | f01ec3e34a08 |
files | linld/stuff/src/TAZBOOT.CPP syslinux/stuff/iso2exe/bootiso.S |
line diff
1.1 --- a/linld/stuff/src/TAZBOOT.CPP Thu Mar 30 15:54:03 2017 +0200 1.2 +++ b/linld/stuff/src/TAZBOOT.CPP Thu Mar 30 17:22:13 2017 +0200 1.3 @@ -130,6 +130,7 @@ 1.4 } 1.5 if (*init && isolseek(&initrddesc) != -1) { 1.6 read(x->fd, &x->fileofs, 8); // and x->filesize 1.7 + magic = x->filesize; 1.8 x->fileofs &= 0xFFFFL; 1.9 x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF); 1.10 if (((short *) &x->fileofs)[1] == 0) addinitrd();
2.1 --- a/syslinux/stuff/iso2exe/bootiso.S Thu Mar 30 15:54:03 2017 +0200 2.2 +++ b/syslinux/stuff/iso2exe/bootiso.S Thu Mar 30 17:22:13 2017 +0200 2.3 @@ -230,7 +230,7 @@ 2.4 2.5 vm86modemsg: 2.6 // --------------- Must be in 7F40 7FFF range ------------------------ 2.7 - .ascii "V" // V86 mode 2.8 + .ascii "v" // v86 mode 2.9 .ascii "86" // 86 mode 2.10 .byte EXESTR(mode) 2.11 rmPaging: