summaryrefslogtreecommitdiff
path: root/libgo/go/os/pipe_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/pipe_linux.go')
-rw-r--r--libgo/go/os/pipe_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/pipe_linux.go b/libgo/go/os/pipe_linux.go
index 9bafad84f9f..96f2ce900cb 100644
--- a/libgo/go/os/pipe_linux.go
+++ b/libgo/go/os/pipe_linux.go
@@ -29,5 +29,5 @@ func Pipe() (r *File, w *File, err error) {
return nil, nil, NewSyscallError("pipe2", e)
}
- return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), nil
+ return newFile(uintptr(p[0]), "|0", true), newFile(uintptr(p[1]), "|1", true), nil
}