Fix typo.
Test: pass
Change-Id: I63099c9155c72a28ebe3d2bfc1728f9d0d5ac199
diff --git a/boot_control_android.cc b/boot_control_android.cc
index 35ff829..b99554c 100644
--- a/boot_control_android.cc
+++ b/boot_control_android.cc
@@ -331,20 +331,20 @@
<< group.size;
for (const auto& partition : group.partitions) {
- auto parition_name_suffix = partition.name + target_suffix;
+ auto partition_name_suffix = partition.name + target_suffix;
Partition* p = builder->AddPartition(
- parition_name_suffix, group_name_suffix, LP_PARTITION_ATTR_READONLY);
+ partition_name_suffix, group_name_suffix, LP_PARTITION_ATTR_READONLY);
if (!p) {
- LOG(ERROR) << "Cannot add partition " << parition_name_suffix
+ LOG(ERROR) << "Cannot add partition " << partition_name_suffix
<< " to group " << group_name_suffix;
return false;
}
if (!builder->ResizePartition(p, partition.size)) {
- LOG(ERROR) << "Cannot resize partition " << parition_name_suffix
+ LOG(ERROR) << "Cannot resize partition " << partition_name_suffix
<< " to size " << partition.size << ". Not enough space?";
return false;
}
- LOG(INFO) << "Added partition " << parition_name_suffix << " to group "
+ LOG(INFO) << "Added partition " << partition_name_suffix << " to group "
<< group_name_suffix << " with size " << partition.size;
}
}