am 8ec42bb2: Merge "mkbootimg: fix padding calculation for 2ndstage loader"

* commit '8ec42bb203d48e917d8da4d925378b448416d09e':
  mkbootimg: fix padding calculation for 2ndstage loader
This commit is contained in:
Colin Cross 2014-05-03 18:41:19 +00:00 committed by Android Git Automerger
commit e6950362ac
1 changed files with 1 additions and 1 deletions

View File

@ -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;