wok diff linld/stuff/src/TAZBOOT.CPP @ rev 23471

updated python-cheetah (2.4.3 -> 2.4.4)
author Hans-G?nter Theisgen
date Sun Apr 05 14:34:55 2020 +0100 (2020-04-05)
parents 53c1379e13fa
children 00ef8230cd61
line diff
     1.1 --- a/linld/stuff/src/TAZBOOT.CPP	Mon Jan 13 11:52:56 2020 +0100
     1.2 +++ b/linld/stuff/src/TAZBOOT.CPP	Sun Apr 05 14:34:55 2020 +0100
     1.3 @@ -115,7 +115,8 @@
     1.4  		    isoopen(rootfs[0] ? rootfs : fallback) != -1) {
     1.5  			addinitrd();
     1.6  		}
     1.7 -		if (*init && isolseek(&initrddesc) != 0) {
     1.8 +		if (*init) {
     1.9 +			isolseek(&initrddesc);
    1.10  			read(x->fd, &x->filemod, 10); // + x->fileofs & x->filesize
    1.11  			magic = x->filemod;
    1.12  			x->fileofs = 0x7FF0 - (x->filesize &= 0xFFFF);