Fix typos in super image errors
Bug: 390239238
Test: Presubmits
Change-Id: I8cbc6cb651f7452bf679c045e8b3fc6162205761
diff --git a/filesystem/super_image.go b/filesystem/super_image.go
index f73f0dc..4419a2f 100644
--- a/filesystem/super_image.go
+++ b/filesystem/super_image.go
@@ -232,7 +232,7 @@
} else {
if s.properties.Virtual_ab.Retrofit != nil {
- ctx.PropertyErrorf("virtual_ab.retrofix", "This property cannot be set when virtual_ab is disabled")
+ ctx.PropertyErrorf("virtual_ab.retrofit", "This property cannot be set when virtual_ab is disabled")
}
if s.properties.Virtual_ab.Compression != nil {
ctx.PropertyErrorf("virtual_ab.compression", "This property cannot be set when virtual_ab is disabled")
diff --git a/fsgen/super_img.go b/fsgen/super_img.go
index 23d331d..5c23868 100644
--- a/fsgen/super_img.go
+++ b/fsgen/super_img.go
@@ -58,7 +58,7 @@
if partitionVars.ProductVirtualAbCowVersion != "" {
version, err := strconv.ParseInt(partitionVars.ProductVirtualAbCowVersion, 10, 32)
if err != nil {
- ctx.ModuleErrorf("Compression factor must be an int, got %q", partitionVars.ProductVirtualAbCowVersion)
+ ctx.ModuleErrorf("COW version must be an int, got %q", partitionVars.ProductVirtualAbCowVersion)
}
superImageProps.Virtual_ab.Cow_version = proptools.Int64Ptr(version)
}