aboutsummaryrefslogtreecommitdiffhomepage
path: root/wl/wl.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-23 03:24:37 +0900
committerOphestra <cat@gensokyo.uk>2025-02-23 03:24:37 +0900
commiteda4d612c2e64321766e1074a698caeae843102a (patch)
treec492042ffd52930c8578884ec2800a25690bae3a /wl/wl.go
parent2e7e16068372a0c0b42bd6b3da2433134c91a495 (diff)
fortify: keep external files alive
This should eliminate sporadic failures, like the known double close in "seccomp". Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'wl/wl.go')
-rw-r--r--wl/wl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wl/wl.go b/wl/wl.go
index da1ed2c8..51ad1fd2 100644
--- a/wl/wl.go
+++ b/wl/wl.go
@@ -29,7 +29,7 @@ func bindWaylandFd(socketPath string, fd uintptr, appID, instanceID string, sync
if hasNull(appID) || hasNull(instanceID) {
return ErrContainsNull
}
- res := C.bind_wayland_fd(C.CString(socketPath), C.int(fd), C.CString(appID), C.CString(instanceID), C.int(syncFD))
+ res := C.f_bind_wayland_fd(C.CString(socketPath), C.int(fd), C.CString(appID), C.CString(instanceID), C.int(syncFD))
return resErr[int32(res)]
}