From e6d9eda2fc13786c55292429b510128252ad8817 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 28 Jun 2017 10:50:31 -0700 Subject: [PATCH] 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 --- src/cmd/vet/all/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)