diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-11-23 14:06:12 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-11-23 14:06:26 -0800 |
commit | ddc1241a36c48a857971f5d926a33680e52a59d6 (patch) | |
tree | 3ce69126672138d292f83563f55206a325ba10bb /recovery.c | |
parent | edae7a5b0f20249528b72ac87d9b6b5d769b927f (diff) | |
download | bootable_recovery-ddc1241a36c48a857971f5d926a33680e52a59d6.zip bootable_recovery-ddc1241a36c48a857971f5d926a33680e52a59d6.tar.gz bootable_recovery-ddc1241a36c48a857971f5d926a33680e52a59d6.tar.bz2 |
fix missing prebuilts in recovery. mmc bootloader message support. fix segfault happening due to C structs not being zeroed out.
Diffstat (limited to 'recovery.c')
-rw-r--r-- | recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,7 +161,7 @@ static void get_args(int *argc, char ***argv) { struct bootloader_message boot; memset(&boot, 0, sizeof(boot)); - if (device_flash_type() == MTD) { + if (device_flash_type() == MTD || device_flash_type() == MMC) { get_bootloader_message(&boot); // this may fail, leaving a zeroed structure } |