Commit 8a9c2c55 authored by Russ Cox's avatar Russ Cox

os: fix build

TBR=crawshaw
CC=golang-codereviews
https://golang.org/cl/162390043
parent d7660143
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment