mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
os: fix build
TBR=crawshaw CC=golang-codereviews https://golang.org/cl/162390043
This commit is contained in:
parent
d7660143b6
commit
8a9c2c55bd
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ func (f *File) pwrite(b []byte, off int64) (n int, err error) {
|
|||
// relative to the current offset, and 2 means relative to the end.
|
||||
// It returns the new offset and an error, if any.
|
||||
func (f *File) seek(offset int64, whence int) (ret int64, err error) {
|
||||
return fixCount(syscall.Seek(f.fd, offset, whence))
|
||||
return syscall.Seek(f.fd, offset, whence)
|
||||
}
|
||||
|
||||
// Truncate changes the size of the named file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue