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