[dev.link] cmd/link: fix minor error on error reporting

Correctly propagate ... arguments. (Maybe vet should warn on it?)

Reviewed-on: https://go-review.googlesource.com/c/go/+/230017
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>

Change-Id: Ife56dc2321847cdaf0caea3142c2c7dad8b5924d
Reviewed-on: https://go-review.googlesource.com/c/go/+/230027
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Cherry Zhang 2020-04-24 15:18:54 -04:00
parent 42cca1a7fe
commit 1d083eba5b
2 changed files with 2 additions and 2 deletions

View file

@ -2825,7 +2825,7 @@ func (l *Loader) GetErrorReporter() *ErrorReporter {
// Errorf method logs an error message. See ErrorReporter.Errorf for details.
func (l *Loader) Errorf(s Sym, format string, args ...interface{}) {
l.errorReporter.Errorf(s, format, args)
l.errorReporter.Errorf(s, format, args...)
}
// For debugging.