summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-10-28 15:34:50 -0400
committerRuss Cox <rsc@golang.org>2014-10-28 15:34:50 -0400
commit9f03596c14cb7d4d63f2434002d7654a8b670bf2 (patch)
tree8067493957917c2012b0fd32a7a09d992b902e6f /src/os
parent1abd8fa58bc9f4dd220d537f7672890704726da6 (diff)
downloadgo-9f03596c14cb7d4d63f2434002d7654a8b670bf2.tar.gz
os: fix build
TBR=crawshaw CC=golang-codereviews https://codereview.appspot.com/162390043
Diffstat (limited to 'src/os')
-rw-r--r--src/os/file_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/file_unix.go b/src/os/file_unix.go
index 4e413fbe8..f59d563e6 100644
--- a/src/os/file_unix.go
+++ b/src/os/file_unix.go
@@ -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.