diff options
author | Colin Cross <ccross@android.com> | 2018-03-21 16:25:58 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-03-28 15:54:52 -0700 |
commit | f46e37f5f79bd7111aed84f6cf172f20431ec010 (patch) | |
tree | f41e50333685523db810873c0fd88e8446b08264 /bpfix | |
parent | 2b53a0c4b89397f853fc0479340ee09b1f29cc18 (diff) | |
download | build_soong-f46e37f5f79bd7111aed84f6cf172f20431ec010.tar.gz build_soong-f46e37f5f79bd7111aed84f6cf172f20431ec010.tar.bz2 build_soong-f46e37f5f79bd7111aed84f6cf172f20431ec010.zip |
Fix format string issues
Fix issues caught by go vet.
Test: m checkbuild
Change-Id: Ib8d740457c15432dabe1575a6707726ddaf93084
Diffstat (limited to 'bpfix')
-rw-r--r-- | bpfix/bpfix/bpfix.go | 2 |
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 } } |