From: David Symonds Date: Fri, 8 Feb 2013 01:00:35 +0000 (+1100) Subject: cmd/godoc: fix format strings. X-Git-Tag: go1.1rc2~1115 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c1dfb2b9a3fb169545bfb40f3febad22063831f;p=gostls13.git cmd/godoc: fix format strings. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7309061 --- diff --git a/src/cmd/godoc/play-appengine.go b/src/cmd/godoc/play-appengine.go index 1d093e9592..9e351d1a25 100644 --- a/src/cmd/godoc/play-appengine.go +++ b/src/cmd/godoc/play-appengine.go @@ -24,12 +24,12 @@ func bounceToPlayground(w http.ResponseWriter, req *http.Request) { resp, err := client.Post(url, req.Header.Get("Content-type"), req.Body) if err != nil { http.Error(w, "Internal Server Error", 500) - c.Errorf("making POST request:", err) + c.Errorf("making POST request: %v", err) return } defer resp.Body.Close() if _, err := io.Copy(w, resp.Body); err != nil { http.Error(w, "Internal Server Error", 500) - c.Errorf("making POST request:", err) + c.Errorf("making POST request: %v", err) } }