Commit 5b76c804 authored by Mikio Hara's avatar Mikio Hara

x/net/ipv6: fix a nit found by vet

LGTM=dsymonds
R=iant, dsymonds
CC=golang-codereviews
https://golang.org/cl/176920043
parent ccf541d8
......@@ -92,7 +92,7 @@ func benchmarkReadWriteIPv6UDP(b *testing.B, p *ipv6.PacketConn, wb, rb []byte,
if n, err := p.WriteTo(wb, &cm, dst); err != nil {
b.Fatal(err)
} else if n != len(wb) {
b.Fatal("got %v; want %v", n, len(wb))
b.Fatalf("got %v; want %v", n, len(wb))
}
if _, _, _, err := p.ReadFrom(rb); err != nil {
b.Fatal(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment