summaryrefslogtreecommitdiff
path: root/android/namespace.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/namespace.go')
-rw-r--r--android/namespace.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/namespace.go b/android/namespace.go
index 8b3ebc4d5..9ba502514 100644
--- a/android/namespace.go
+++ b/android/namespace.go
@@ -332,7 +332,7 @@ func (r *NameResolver) MissingDependencyError(depender string, dependerNamespace
if isAbs {
// if the user gave a fully-qualified name, we don't need to look for other
// modules that they might have been referring to
- return fmt.Errorf(text)
+ return fmt.Errorf("%s", text)
}
// determine which namespaces the module can be found in
@@ -368,7 +368,7 @@ func (r *NameResolver) MissingDependencyError(depender string, dependerNamespace
text += fmt.Sprintf("\nOr did you mean %q?", guess)
}
- return fmt.Errorf(text)
+ return fmt.Errorf("%s", text)
}
func (r *NameResolver) GetNamespace(ctx blueprint.NamespaceContext) blueprint.Namespace {