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:
parent
8db8dd24bf
commit
d0a49a6b77
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue