diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-08 21:10:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-08 21:10:21 (GMT) |
commit | 7ce6a7f670b83e1c51c87c0e421037c849df85c2 (patch) | |
tree | a8bebaf1191b922344e4214865688212914d566e /plugins | |
parent | f52c02e2d1566c610207cc751b83155b7677ac46 (diff) |
Fixed another mistake when requesting the kernel from an Android BOOT image.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bootimg/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bootimg/format.c b/plugins/bootimg/format.c index f41f98d..99b8f27 100644 --- a/plugins/bootimg/format.c +++ b/plugins/bootimg/format.c @@ -328,7 +328,7 @@ GBinContent *g_bootimg_format_get_kernel(const GBootImgFormat *format) offset = 1 * format->header.page_size; - size = format->header.ramdisk_size; + size = format->header.kernel_size; init_vmpa(&pos, offset, VMPA_NO_VIRTUAL); |