forked from enlightenment/enlightenment
warn - make buffer bigger to avoid trunc warn
This commit is contained in:
parent
91066bd06f
commit
747d18373e
|
@ -177,8 +177,8 @@ static Eina_Bool
|
||||||
_cb_xserver_event(void *data EINA_UNUSED, Ecore_Fd_Handler *hdlr EINA_UNUSED)
|
_cb_xserver_event(void *data EINA_UNUSED, Ecore_Fd_Handler *hdlr EINA_UNUSED)
|
||||||
{
|
{
|
||||||
int socks[2], wms[2], fd;
|
int socks[2], wms[2], fd;
|
||||||
char disp[8], s[8], xserver[PATH_MAX];
|
char disp[8], s[12], xserver[PATH_MAX];
|
||||||
char abs_fd[8], unx_fd[8], wm_fd[8];
|
char abs_fd[12], unx_fd[12], wm_fd[12];
|
||||||
|
|
||||||
if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, socks) < 0)
|
if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, socks) < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue