aboutsummaryrefslogtreecommitdiff
path: root/src/debug/pe/section.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/pe/section.go')
-rw-r--r--src/debug/pe/section.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/pe/section.go b/src/debug/pe/section.go
index 70d0c220ce..bab067e06b 100644
--- a/src/debug/pe/section.go
+++ b/src/debug/pe/section.go
@@ -54,7 +54,7 @@ func readRelocs(sh *SectionHeader, r io.ReadSeeker) ([]Reloc, error) {
if sh.NumberOfRelocations <= 0 {
return nil, nil
}
- _, err := r.Seek(int64(sh.PointerToRelocations), seekStart)
+ _, err := r.Seek(int64(sh.PointerToRelocations), io.SeekStart)
if err != nil {
return nil, fmt.Errorf("fail to seek to %q section relocations: %v", sh.Name, err)
}