From feccc97a141e371b3b4937a4c2f7a7e855522457 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 1 Mar 2017 00:50:49 +0800 Subject: [PATCH] Fix typo --- jni/magiskboot/parseimg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/magiskboot/parseimg.c b/jni/magiskboot/parseimg.c index ab8f703d2..8aea15e29 100644 --- a/jni/magiskboot/parseimg.c +++ b/jni/magiskboot/parseimg.c @@ -77,7 +77,7 @@ static void check_headers() { } if (memcmp(ramdisk, "\x88\x16\x88\x58", 4) == 0) { printf("MTK header found in ramdisk\n"); - mtk_kernel = 1; + mtk_ramdisk = 1; } // Check dtb