diff options
| author | Robert Griesemer <gri@golang.org> | 2010-04-01 15:58:10 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2010-04-01 15:58:10 -0700 |
| commit | d6589377c6e48af1990ada22ea47e1bd131c5f62 (patch) | |
| tree | 03e7de2db19770ae1dab7bf3db1ec3214b1e20cd /src/pkg/debug | |
| parent | 4a6dfda4cc07f48a2d529c8013a6700e84e09c6b (diff) | |
| download | go-d6589377c6e48af1990ada22ea47e1bd131c5f62.tar.xz | |
debug/macho: fix error message format
R=rsc
CC=golang-dev
https://golang.org/cl/836046
Diffstat (limited to 'src/pkg/debug')
| -rw-r--r-- | src/pkg/debug/macho/file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/macho/file.go b/src/pkg/debug/macho/file.go index 018f71e141..3aab45f6b1 100644 --- a/src/pkg/debug/macho/file.go +++ b/src/pkg/debug/macho/file.go @@ -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 } |
