summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-04-08 21:10:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-04-08 21:10:21 (GMT)
commit7ce6a7f670b83e1c51c87c0e421037c849df85c2 (patch)
treea8bebaf1191b922344e4214865688212914d566e
parentf52c02e2d1566c610207cc751b83155b7677ac46 (diff)
Fixed another mistake when requesting the kernel from an Android BOOT image.
-rw-r--r--plugins/bootimg/format.c2
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);