am 8ec42bb2: Merge "mkbootimg: fix padding calculation for 2ndstage loader"
* commit '8ec42bb203d48e917d8da4d925378b448416d09e': mkbootimg: fix padding calculation for 2ndstage loader
This commit is contained in:
commit
e6950362ac
|
@ -263,7 +263,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if(second_data) {
|
||||
if(write(fd, second_data, hdr.second_size) != hdr.second_size) goto fail;
|
||||
if(write_padding(fd, pagesize, hdr.ramdisk_size)) goto fail;
|
||||
if(write_padding(fd, pagesize, hdr.second_size)) goto fail;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue