summaryrefslogtreecommitdiff
path: root/src/lib/syscall/file_linux.go
diff options
context:
space:
mode:
authorKen Thompson <ken@golang.org>2008-10-29 12:46:44 -0700
committerKen Thompson <ken@golang.org>2008-10-29 12:46:44 -0700
commit7e3075af03d92531c1c63bfc968fb2a6162fe580 (patch)
tree44274d7583c587c4ffeddced52b977ed1c095fd9 /src/lib/syscall/file_linux.go
parentb28ec6ac1211c3f42f9c4248795e5a6b38d658a5 (diff)
downloadgolang-7e3075af03d92531c1c63bfc968fb2a6162fe580.tar.gz
the end of life as we know it
int is new type R=r OCL=18023 CL=18023
Diffstat (limited to 'src/lib/syscall/file_linux.go')
-rw-r--r--src/lib/syscall/file_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/syscall/file_linux.go b/src/lib/syscall/file_linux.go
index af7728a6b..6b56cc6ab 100644
--- a/src/lib/syscall/file_linux.go
+++ b/src/lib/syscall/file_linux.go
@@ -44,7 +44,7 @@ export func write(fd int64, buf *byte, nbytes int64) (ret int64, errno int64) {
}
export func pipe(fds *[2]int64) (ret int64, errno int64) {
- var t [2] int32;
+ var t [2] int;
r1, r2, err := Syscall(SYS_PIPE, Int32Ptr(&t[0]), 0, 0);
if r1 < 0 {
return r1, err;