aboutsummaryrefslogtreecommitdiff
path: root/src/debug/pe/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/pe/string.go')
-rw-r--r--src/debug/pe/string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/pe/string.go b/src/debug/pe/string.go
index a156bbef05..6cd08aed71 100644
--- a/src/debug/pe/string.go
+++ b/src/debug/pe/string.go
@@ -31,7 +31,7 @@ func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) {
return nil, nil
}
offset := fh.PointerToSymbolTable + COFFSymbolSize*fh.NumberOfSymbols
- _, err := r.Seek(int64(offset), seekStart)
+ _, err := r.Seek(int64(offset), io.SeekStart)
if err != nil {
return nil, fmt.Errorf("fail to seek to string table: %v", err)
}