Fix partition spelling.
Parition -> Partition
Test: mma
Change-Id: Ibf4898c443fadd70e45789a55566f25dc4af8b68
diff --git a/payload_generator/deflate_utils.cc b/payload_generator/deflate_utils.cc
index 2449651..1bc3b36 100644
--- a/payload_generator/deflate_utils.cc
+++ b/payload_generator/deflate_utils.cc
@@ -256,9 +256,9 @@
return true;
}
-bool PreprocessParitionFiles(const PartitionConfig& part,
- vector<FilesystemInterface::File>* result_files,
- bool extract_deflates) {
+bool PreprocessPartitionFiles(const PartitionConfig& part,
+ vector<FilesystemInterface::File>* result_files,
+ bool extract_deflates) {
// Get the file system files.
vector<FilesystemInterface::File> tmp_files;
part.fs_interface->GetFiles(&tmp_files);
diff --git a/payload_generator/deflate_utils.h b/payload_generator/deflate_utils.h
index 9b40a47..752bd9f 100644
--- a/payload_generator/deflate_utils.h
+++ b/payload_generator/deflate_utils.h
@@ -30,9 +30,9 @@
// includes:
// - splitting large Squashfs containers into its smaller files.
// - extracting deflates in zip and gzip files.
-bool PreprocessParitionFiles(const PartitionConfig& part,
- std::vector<FilesystemInterface::File>* result,
- bool extract_deflates);
+bool PreprocessPartitionFiles(const PartitionConfig& part,
+ std::vector<FilesystemInterface::File>* result,
+ bool extract_deflates);
// Spreads all extents in |over_extents| over |base_extents|. Here we assume the
// |over_extents| are non-overlapping and sorted by their offset.
diff --git a/payload_generator/delta_diff_utils.cc b/payload_generator/delta_diff_utils.cc
index bd1c891..16a8ad5 100644
--- a/payload_generator/delta_diff_utils.cc
+++ b/payload_generator/delta_diff_utils.cc
@@ -403,7 +403,7 @@
map<string, FilesystemInterface::File> old_files_map;
if (old_part.fs_interface) {
vector<FilesystemInterface::File> old_files;
- TEST_AND_RETURN_FALSE(deflate_utils::PreprocessParitionFiles(
+ TEST_AND_RETURN_FALSE(deflate_utils::PreprocessPartitionFiles(
old_part, &old_files, puffdiff_allowed));
for (const FilesystemInterface::File& file : old_files)
old_files_map[file.name] = file;
@@ -411,7 +411,7 @@
TEST_AND_RETURN_FALSE(new_part.fs_interface);
vector<FilesystemInterface::File> new_files;
- TEST_AND_RETURN_FALSE(deflate_utils::PreprocessParitionFiles(
+ TEST_AND_RETURN_FALSE(deflate_utils::PreprocessPartitionFiles(
new_part, &new_files, puffdiff_allowed));
list<FileDeltaProcessor> file_delta_processors;