From de2e3f4d72f2317153fe5ec9d47c5a61ef1e91ba Mon Sep 17 00:00:00 2001 From: Marty Schoch Date: Tue, 7 Apr 2015 11:24:01 -0400 Subject: [PATCH] fix improper call to fmt.Errorf instead of Printf --- docs/merge-coverprofile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/merge-coverprofile.go b/docs/merge-coverprofile.go index 8663d2ce..7b0c11c7 100644 --- a/docs/merge-coverprofile.go +++ b/docs/merge-coverprofile.go @@ -21,7 +21,7 @@ func main() { suffix := line[lastSpace+1:] count, err := strconv.Atoi(suffix) if err != nil { - fmt.Errorf("error parsing count: %v", err) + fmt.Printf("error parsing count: %v", err) continue } existingCount, exists := blocks[prefix]