diff options
author | Andrzej Janik <[email protected]> | 2021-01-16 21:29:32 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-01-16 21:29:32 +0100 |
commit | f99705c5627bd469ef4b9cc2f59f1186d99b6f50 (patch) | |
tree | ad7cf93144cf610d430dec81c020b8cfd0fdd7e7 | |
parent | 18d46f434f7c120b840c04f50559b586917af62a (diff) | |
download | ZLUDA-f99705c5627bd469ef4b9cc2f59f1186d99b6f50.tar.gz ZLUDA-f99705c5627bd469ef4b9cc2f59f1186d99b6f50.zip |
Fix build
-rw-r--r-- | zluda_dump/src/os_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda_dump/src/os_unix.rs b/zluda_dump/src/os_unix.rs index 15b0ef6..f3984cb 100644 --- a/zluda_dump/src/os_unix.rs +++ b/zluda_dump/src/os_unix.rs @@ -11,5 +11,5 @@ pub unsafe fn load_cuda_library() -> *mut c_void { }
pub unsafe fn get_proc_address(handle: *mut c_void, func: &CStr) -> *mut c_void {
- libc::dlsym(handle, name.as_ptr() as *const _)
+ libc::dlsym(handle, func.as_ptr() as *const _)
}
|