mirror of
https://github.com/danderson/netboot.git
synced 2025-10-15 17:41:38 +02:00
Add missing param 'name' to log entry text (#12)
Also add a missing closing parens in the textual description.
This commit is contained in:
parent
25de7b4882
commit
d1e0ba49c4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user