summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-03-31 09:59:52 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-03-31 09:59:52 (GMT)
commitd3efb593e42b162687ff1802beb9ba88dd008296 (patch)
tree7d35fa780a49bdaa28fd58e703c5ff580e94d216
parent07312b057958bfbdc60b7b43ccca84c396187cb9 (diff)
Fixed a mistake when requesting the kernel from an Android BOOT image.
-rw-r--r--plugins/bootimg/python/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bootimg/python/format.c b/plugins/bootimg/python/format.c
index 4e3f5f5..bf0cf6d 100644
--- a/plugins/bootimg/python/format.c
+++ b/plugins/bootimg/python/format.c
@@ -168,7 +168,7 @@ static PyObject *py_bootimg_format_get_kernel(PyObject *self, void *closure)
format = G_BOOTIMG_FORMAT(pygobject_get(self));
- content = g_bootimg_format_get_ramdisk(format);
+ content = g_bootimg_format_get_kernel(format);
if (content == NULL)
{