Improve magiskboot info logging

This commit is contained in:
topjohnwu
2020-10-12 01:55:33 -07:00
parent 4aeac3b8f4
commit 339ca6d666
4 changed files with 61 additions and 51 deletions

View File

@@ -351,9 +351,9 @@ struct boot_img {
uint16_t flags = 0;
// The format of kernel, ramdisk and extra
format_t k_fmt;
format_t r_fmt;
format_t e_fmt;
format_t k_fmt = UNKNOWN;
format_t r_fmt = UNKNOWN;
format_t e_fmt = UNKNOWN;
/***************************************************
* Following pointers points within the mmap region