aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/zsyscall_linux_mipsle.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-11-08 02:25:23 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-08 16:09:48 +0000
commitc41137d2428587b7e6df09952cddabd6441bc4b7 (patch)
tree03afe1253e11bb9b38bd630f9818cf9e0591b5b4 /src/syscall/zsyscall_linux_mipsle.go
parent3a3f672eda6f720f68950492a85254528ac53dad (diff)
downloadgo-c41137d2428587b7e6df09952cddabd6441bc4b7.tar.xz
syscall: fix name of prlimit parameters
Fixes #17606 Change-Id: I040c7621cef265d44b58f16556e6d58660a2245d Reviewed-on: https://go-review.googlesource.com/32889 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/zsyscall_linux_mipsle.go')
-rw-r--r--src/syscall/zsyscall_linux_mipsle.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/zsyscall_linux_mipsle.go b/src/syscall/zsyscall_linux_mipsle.go
index 8ccfe48e19..527e3ef917 100644
--- a/src/syscall/zsyscall_linux_mipsle.go
+++ b/src/syscall/zsyscall_linux_mipsle.go
@@ -761,8 +761,8 @@ func PivotRoot(newroot string, putold string) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
+func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
+ _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
if e1 != 0 {
err = errnoErr(e1)
}