Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ec42bb2 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "mkbootimg: fix padding calculation for 2ndstage loader"

parents 3c049bbe f66bd0a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;