diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-23 03:24:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-23 03:24:37 +0900 |
| commit | eda4d612c2e64321766e1074a698caeae843102a (patch) | |
| tree | c492042ffd52930c8578884ec2800a25690bae3a /wl/wl.go | |
| parent | 2e7e16068372a0c0b42bd6b3da2433134c91a495 (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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)] } |
