diff --git a/doc/effective_go.html b/doc/effective_go.html index ed777f4bb82..4382729c3c1 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2291,7 +2291,7 @@ This would be useful if we wanted to refine the methods of Logger.

 func (job *Job) Logf(format string, args ...interface{}) {
-    job.Logger.Logf("%q: %s", job.Command, fmt.Sprintf(format, args))
+    job.Logger.Logf("%q: %s", job.Command, fmt.Sprintf(format, args...))
 }