Merge "mkbootimg: fix padding calculation for 2ndstage loader"
This commit is contained in:
commit
8ec42bb203
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue