aboutsummaryrefslogtreecommitdiffstats
path: root/bpfix
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-03-21 16:25:58 -0700
committerColin Cross <ccross@android.com>2018-05-03 14:38:12 -0700
commita4ffa9addbd995be5acd9cbfddeb0821790a014b (patch)
tree8be08dded9a5de0fc00f33d8299503a0534f873e /bpfix
parent8a32a05989ab6c6a675ae8e0d05104c398e774a4 (diff)
downloadbuild_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 'bpfix')
-rw-r--r--bpfix/bpfix/bpfix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpfix/bpfix/bpfix.go b/bpfix/bpfix/bpfix.go
index 84454907..2c3cc6cd 100644
--- a/bpfix/bpfix/bpfix.go
+++ b/bpfix/bpfix/bpfix.go
@@ -67,7 +67,7 @@ func FixTree(tree *parser.File, config FixRequest) error {
// detect infinite loop
i++
if i >= maxNumIterations {
- return fmt.Errorf("Applied fixes %s times and yet the tree continued to change. Is there an infinite loop?", i)
+ return fmt.Errorf("Applied fixes %d times and yet the tree continued to change. Is there an infinite loop?", i)
break
}
}