mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[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:
parent
42cca1a7fe
commit
1d083eba5b
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue