From: Robert Griesemer Date: Wed, 28 Jun 2017 17:50:31 +0000 (-0700) Subject: cmd/vet/all: fix print statement, add platform information X-Git-Tag: go1.9rc1~139 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e6d9eda2fc13786c55292429b510128252ad8817;p=gostls13.git cmd/vet/all: fix print statement, add platform information Change-Id: Ibbb89c01f3e812a0602961f959672fcb6523449b Reviewed-on: https://go-review.googlesource.com/47031 Run-TryBot: Brad Fitzpatrick Reviewed-by: Matthew Dempsky Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/vet/all/main.go b/src/cmd/vet/all/main.go index 64b3a0157a..b4df4cc720 100644 --- a/src/cmd/vet/all/main.go +++ b/src/cmd/vet/all/main.go @@ -238,9 +238,9 @@ NextLine: default: if !parseFailed { parseFailed = true - fmt.Fprintln(os.Stderr, "failed to parse vet output:") + fmt.Fprintf(os.Stderr, "failed to parse %s vet output:\n", p) } - fmt.Println(os.Stderr, line) + fmt.Fprintln(os.Stderr, line) } msg = strings.TrimSpace(msg)