aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-01-16 21:29:32 +0100
committerAndrzej Janik <[email protected]>2021-01-16 21:29:32 +0100
commitf99705c5627bd469ef4b9cc2f59f1186d99b6f50 (patch)
treead7cf93144cf610d430dec81c020b8cfd0fdd7e7
parent18d46f434f7c120b840c04f50559b586917af62a (diff)
downloadZLUDA-f99705c5627bd469ef4b9cc2f59f1186d99b6f50.tar.gz
ZLUDA-f99705c5627bd469ef4b9cc2f59f1186d99b6f50.zip
Fix build
-rw-r--r--zluda_dump/src/os_unix.rs2
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 _)
}