mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07:00
debug/macho: fix error message format
R=rsc CC=golang-dev https://golang.org/cl/836046
This commit is contained in:
parent
4a6dfda4cc
commit
d6589377c6
@ -126,9 +126,9 @@ type FormatError struct {
|
||||
func (e *FormatError) String() string {
|
||||
msg := e.msg
|
||||
if e.val != nil {
|
||||
msg += fmt.Sprintf(" '%v' ", e.val)
|
||||
msg += fmt.Sprintf(" '%v'", e.val)
|
||||
}
|
||||
msg += fmt.Sprintf("in record at byte %#x", e.off)
|
||||
msg += fmt.Sprintf(" in record at byte %#x", e.off)
|
||||
return msg
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user