helpers/wayland_wrapper: Bump the buffer size for display_name

The compiler prints the following warning at the moment:

    wl-socket.c:143:9: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 16
This commit is contained in:
Vlad Zahorodnii 2024-01-22 15:23:02 +02:00
parent 8db8dd24bf
commit d0a49a6b77

View file

@ -37,7 +37,7 @@ struct wl_socket {
int fd_lock;
struct sockaddr_un addr;
char lock_addr[UNIX_PATH_MAX + LOCK_SUFFIXLEN];
char display_name[16];
char display_name[20];
};
static struct wl_socket *wl_socket_alloc(void)