Skip to content

Commit

Permalink
Update export.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 27, 2024
1 parent 6e27af0 commit 10a6d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 10a6d6a

Please # to comment.