Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
callthingsoff committed Feb 10, 2024
1 parent ee9c667 commit cacdf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/xcoff/file.go
Expand Up @@ -262,7 +262,7 @@ func NewFile(r io.ReaderAt) (*File, error) {
}
r2 := r
if scnptr == 0 { // .bss must have all 0s
r2 = new(nobitsSectionReader)
r2 = &nobitsSectionReader{}
}
s.sr = io.NewSectionReader(r2, int64(scnptr), int64(s.Size))
s.ReaderAt = s.sr
Expand Down

0 comments on commit cacdf0a

Please sign in to comment.