diff options
author | Colin Cross <ccross@android.com> | 2018-03-21 16:25:58 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-05-03 14:38:12 -0700 |
commit | a4ffa9addbd995be5acd9cbfddeb0821790a014b (patch) | |
tree | 8be08dded9a5de0fc00f33d8299503a0534f873e /cc | |
parent | 8a32a05989ab6c6a675ae8e0d05104c398e774a4 (diff) | |
download | build_soong-a4ffa9addbd995be5acd9cbfddeb0821790a014b.tar.gz build_soong-a4ffa9addbd995be5acd9cbfddeb0821790a014b.tar.bz2 build_soong-a4ffa9addbd995be5acd9cbfddeb0821790a014b.zip |
Fix format string issues
Fix issues caught by go vet.
Bug: 73724997
Test: m checkbuild
Change-Id: Ib8d740457c15432dabe1575a6707726ddaf93084
Merged-In: Ib8d740457c15432dabe1575a6707726ddaf93084
(cherry picked from commit f46e37f5f79bd7111aed84f6cf172f20431ec010)
Diffstat (limited to 'cc')
-rw-r--r-- | cc/cc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/cc_test.go b/cc/cc_test.go index a4e25349..10c1aba7 100644 --- a/cc/cc_test.go +++ b/cc/cc_test.go @@ -264,7 +264,7 @@ func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string mod := ctx.ModuleForTests(name, vendorVariant).Module().(*Module) if !mod.hasVendorVariant() { - t.Error("%q must have vendor variant", name) + t.Errorf("%q must have vendor variant", name) } // Check library properties. |