aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2011-11-22 21:45:36 +0300
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2011-11-22 21:45:36 +0300
commitedae7a5b0f20249528b72ac87d9b6b5d769b927f (patch)
treed60c0f4f1e5557624dda21d06dce8f783b3c1d11
parentd2eecca36062ef65b25c7ef49f2ca70e438d66c2 (diff)
parentff316eb739c6490d2913796091e2ee1a007f3187 (diff)
downloadbootable_recovery-edae7a5b0f20249528b72ac87d9b6b5d769b927f.zip
bootable_recovery-edae7a5b0f20249528b72ac87d9b6b5d769b927f.tar.gz
bootable_recovery-edae7a5b0f20249528b72ac87d9b6b5d769b927f.tar.bz2
Merge "recovery: fix non-MTD mounting (uninitialized variables)" into ics
-rw-r--r--roots.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/roots.c b/roots.c
index e28eedc..2a86346 100644
--- a/roots.c
+++ b/roots.c
@@ -134,6 +134,9 @@ void load_volume_table() {
device_volumes[num_volumes].device2 =
device2 ? strdup(device2) : NULL;
+ device_volumes[num_volumes].fs_type2 = NULL;
+ device_volumes[num_volumes].fs_options = NULL;
+ device_volumes[num_volumes].fs_options2 = NULL;
device_volumes[num_volumes].length = 0;
if (parse_options(options, device_volumes + num_volumes) != 0) {
LOGE("skipping malformed recovery.fstab line: %s\n", original);