mirror of
https://github.com/golang/go
synced 2024-11-02 15:37:45 +00:00
cmd/compile: fix missing format verb
Found by vet. Change-Id: I50420771678b1a3695348ce1a81f410479ed09a1 Reviewed-on: https://go-review.googlesource.com/28394 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
fe5619b479
commit
809bb3a71c
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ func (p *printer) stmtfmt(n *Node) *printer {
|
|||
case n.List.Len() > 0:
|
||||
// range
|
||||
if n.List.Len() != 2 {
|
||||
Fatalf("bad OCASE list length", n.List)
|
||||
Fatalf("bad OCASE list length %d", n.List)
|
||||
}
|
||||
p.f("case %v..%v", n.List.First(), n.List.Second())
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue