diff options
Diffstat (limited to 'src/runtime/syscall_aix.go')
| -rw-r--r-- | src/runtime/syscall_aix.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/syscall_aix.go b/src/runtime/syscall_aix.go index f294922e7d..cc9e912613 100644 --- a/src/runtime/syscall_aix.go +++ b/src/runtime/syscall_aix.go @@ -127,9 +127,9 @@ func syscall_chroot1(path uintptr) (err uintptr) { // like close, but must not split stack, for fork. // -//go:linkname syscall_close syscall.close +//go:linkname syscall_closeFD syscall.closeFD //go:nosplit -func syscall_close(fd int32) int32 { +func syscall_closeFD(fd int32) int32 { _, err := syscall1(&libc_close, uintptr(fd)) return int32(err) } |
