summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);