aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-08-30 18:20:34 +0800
committerFelix Lange <fjl@twurst.com>2016-08-30 18:20:34 +0800
commit3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96 (patch)
tree596d8881580b2812d4a65e50ea14962cbea8334a /Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
parent969008dbb007bb3f05dd6f66b5a91cb38c21ab54 (diff)
downloadgo-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.gz
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.bz2
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.lz
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.xz
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.zst
go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.zip
Godeps: update golang.org/x/...
Diffstat (limited to 'Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go')
-rw-r--r--Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
index 74606b2f4..ee96f78ba 100644
--- a/Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
+++ b/Godeps/_workspace/src/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
@@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
_p0 = unsafe.Pointer(&_zero)
}
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
+ use(_p0)
if e1 != 0 {
err = errnoErr(e1)
}