]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix build
authorRuss Cox <rsc@golang.org>
Tue, 28 Oct 2014 19:34:50 +0000 (15:34 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 28 Oct 2014 19:34:50 +0000 (15:34 -0400)
TBR=crawshaw
CC=golang-codereviews
https://golang.org/cl/162390043

src/os/file_unix.go

index 4e413fbe848f8240de02e0400f94de31d94cfd26..f59d563e697f032e020ac17020810a87b95584c1 100644 (file)
@@ -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.