diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-26 15:31:23 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-26 15:31:23 -0400 |
commit | 67d1b8d2cc51e0968cf0eba17408520c6ebea644 (patch) | |
tree | 0e9be55196e523b9ccb2fd55f77c4dc9b72bd711 /src/dl/dlsym_reserved.go | |
parent | e04cc063d12dafe19317a8a22e94e0a52989e9e9 (diff) |
dl: fix a pointer/value issue found by go vet
Diffstat (limited to 'src/dl/dlsym_reserved.go')
-rw-r--r-- | src/dl/dlsym_reserved.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dl/dlsym_reserved.go b/src/dl/dlsym_reserved.go index 081e012..e4f9eec 100644 --- a/src/dl/dlsym_reserved.go +++ b/src/dl/dlsym_reserved.go @@ -58,6 +58,6 @@ var ( ) func init() { - RTLD_DEFAULT = Handle{c: unsafe.Pointer(uintptr(C.rtld_default)), o: 2} - RTLD_DEFAULT = Handle{c: unsafe.Pointer(uintptr(C.rtld_next)), o: 2} + RTLD_DEFAULT = &Handle{c: unsafe.Pointer(uintptr(C.rtld_default)), o: 2} + RTLD_DEFAULT = &Handle{c: unsafe.Pointer(uintptr(C.rtld_next)), o: 2} } |