summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/apex.go b/android/apex.go
index 7f9f0f5c3..cfda2aa8f 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -919,7 +919,7 @@ func CheckMinSdkVersion(m UpdatableModule, ctx ModuleContext, minSdkVersion ApiL
"Consider adding 'min_sdk_version: %q' to %q",
minSdkVersion, ctx.ModuleName(), err.Error(),
ctx.GetPathString(false),
- minSdkVersion, ctx.ModuleName())
+ minSdkVersion, toName)
return false
}
}