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:
Josh Bleecher Snyder 2016-09-01 12:23:43 -07:00
parent fe5619b479
commit 809bb3a71c

View file

@ -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: