Commit d6589377 authored by Robert Griesemer's avatar Robert Griesemer

debug/macho: fix error message format

R=rsc
CC=golang-dev
https://golang.org/cl/836046
parent 4a6dfda4
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment