aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_aix.go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2019-03-22 12:52:54 +0100
committerIan Lance Taylor <iant@golang.org>2019-03-22 13:50:19 +0000
commit83d90bbc824e5874022a41bbbbe4f34c65876480 (patch)
tree79c857a2008d2cfd7930f85ca992f4b198410c04 /src/syscall/syscall_aix.go
parent4906a00cdd0e71915d691acad3f852d498ee1a6f (diff)
downloadgo-83d90bbc824e5874022a41bbbbe4f34c65876480.tar.xz
syscall: fix returned values of Dup2 on aix/ppc64
Change-Id: Ia78ea589cc6d58ff22f7d519399c06c5308419dd Reviewed-on: https://go-review.googlesource.com/c/go/+/168878 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/syscall/syscall_aix.go')
-rw-r--r--src/syscall/syscall_aix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/syscall_aix.go b/src/syscall/syscall_aix.go
index 8039da735b..703cbf761c 100644
--- a/src/syscall/syscall_aix.go
+++ b/src/syscall/syscall_aix.go
@@ -46,7 +46,7 @@ func (ts *StTimespec_t) Nano() int64 {
// But, as fcntl is currently not exported and isn't called with F_DUP2FD,
// it doesn't matter.
//sys fcntl(fd int, cmd int, arg int) (val int, err error)
-//sys Dup2(old int, new int) (val int, err error)
+//sys Dup2(old int, new int) (err error)
//sysnb pipe(p *[2]_C_int) (err error)
func Pipe(p []int) (err error) {