aboutsummaryrefslogtreecommitdiffhomepage
path: root/wl/wayland-bind.c
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/wayland-bind.c
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/wayland-bind.c')
-rw-r--r--wl/wayland-bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wl/wayland-bind.c b/wl/wayland-bind.c
index a177a378..01e8b882 100644
--- a/wl/wayland-bind.c
+++ b/wl/wayland-bind.c
@@ -23,7 +23,7 @@ static const struct wl_registry_listener registry_listener = {
.global_remove = registry_handle_global_remove,
};
-int32_t bind_wayland_fd(char *socket_path, int fd, const char *app_id, const char *instance_id, int sync_fd) {
+int32_t f_bind_wayland_fd(char *socket_path, int fd, const char *app_id, const char *instance_id, int sync_fd) {
int32_t res = 0; // refer to resErr for meaning
struct wl_display *display;