diff --git a/export.go b/export.go index d0a4b13..05fd0cc 100644 --- a/export.go +++ b/export.go @@ -332,7 +332,7 @@ func (f *File) CodeSign(config *codesign.Config) error { size = linkedit.Filesz } if n, err := f.cr.ReadAtAddr(ledata[:size], linkedit.Addr); err != nil { - return fmt.Errorf("failed to read __LINKEDIT data: %d, %v", n, err) + return fmt.Errorf("failed to read __LINKEDIT data: read=%d, %v", n, err) } f.ledata = bytes.NewBuffer(ledata)