Skip to content

Commit

Permalink
expvar: fix build
Browse files Browse the repository at this point in the history
Change-Id: I6ee7aa76673e51576b5a84c512b22a0f8af5b02f
Reviewed-on: https://go-review.googlesource.com/3966
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
  • Loading branch information
dvyukov committed Feb 5, 2015
1 parent fc22fb8 commit 08ca401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expvar/expvar_test.go
Expand Up @@ -271,7 +271,7 @@ func BenchmarkRealworldExpvarUsage(b *testing.B) {
// Setup P client/server connections.
clients := make([]net.Conn, P)
servers := make([]net.Conn, P)
ln, err := net.Listen("tcp", laddr)
ln, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
b.Fatalf("Listen failed: %v", err)
}
Expand Down

0 comments on commit 08ca401

Please sign in to comment.