From 7e3075af03d92531c1c63bfc968fb2a6162fe580 Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Wed, 29 Oct 2008 12:46:44 -0700 Subject: the end of life as we know it int is new type R=r OCL=18023 CL=18023 --- src/lib/syscall/file_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/syscall/file_linux.go') 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; -- cgit v1.2.3