summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-04-01 15:58:10 -0700
committerRobert Griesemer <gri@golang.org>2010-04-01 15:58:10 -0700
commitc536850d434ae3dd242417175287cd74c47d9063 (patch)
treec9e7f5777977bd39c6abce652a8eb2833aa96bb5 /src
parent99c1560944c0799a9a4f3fa0786817d8048f50c5 (diff)
downloadgolang-c536850d434ae3dd242417175287cd74c47d9063.tar.gz
debug/macho: fix error message format
R=rsc CC=golang-dev http://codereview.appspot.com/836046
Diffstat (limited to 'src')
-rw-r--r--src/pkg/debug/macho/file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/macho/file.go b/src/pkg/debug/macho/file.go
index 018f71e14..3aab45f6b 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
}