From d1e0ba49c45f4dc7bdcf9b42f334a5bc15ead7b4 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Fri, 23 Sep 2016 06:24:17 +0200 Subject: [PATCH] Add missing param 'name' to log entry text (#12) Also add a missing closing parens in the textual description. --- pixiecore/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixiecore/http.go b/pixiecore/http.go index 82ebde7..db17449 100644 --- a/pixiecore/http.go +++ b/pixiecore/http.go @@ -126,7 +126,7 @@ func (s *Server) handleFile(w http.ResponseWriter, r *http.Request) { if sz >= 0 { w.Header().Set("Content-Length", strconv.FormatInt(sz, 10)) } else { - s.log("HTTP", "Unknown file size for %q, boot will be VERY slow (can your Booter provide file sizes?") + s.log("HTTP", "Unknown file size for %q, boot will be VERY slow (can your Booter provide file sizes?)", name) } if _, err = io.Copy(w, f); err != nil { s.log("HTTP", "Copy of %q to %s (query %q) failed: %s", name, r.RemoteAddr, r.URL, err)