Merge "recovery: fix non-MTD mounting (uninitialized variables)" into ics

This commit is contained in:
Ricardo Cerqueira 2011-11-22 21:45:36 +03:00 committed by Gerrit Code Review
commit edae7a5b0f

View File

@ -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);