summaryrefslogtreecommitdiff
path: root/dl/dlsym_reserved.go
diff options
context:
space:
mode:
Diffstat (limited to 'dl/dlsym_reserved.go')
-rw-r--r--dl/dlsym_reserved.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dl/dlsym_reserved.go b/dl/dlsym_reserved.go
index 081e012..e4f9eec 100644
--- a/dl/dlsym_reserved.go
+++ b/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}
}