print xwayland exe path in debug logs

ref T3415
This commit is contained in:
Mike Blumenkrantz 2016-04-04 15:38:46 -04:00
parent f65a5bb3bb
commit da2f778897
1 changed files with 2 additions and 2 deletions

View File

@ -222,12 +222,12 @@ _cb_xserver_event(void *data EINA_UNUSED, Ecore_Fd_Handler *hdlr EINA_UNUSED)
snprintf(disp, sizeof(disp), ":%d", exs->disp); snprintf(disp, sizeof(disp), ":%d", exs->disp);
snprintf(xserver, sizeof(xserver), "%s", XWAYLAND_BIN); snprintf(xserver, sizeof(xserver), "%s", XWAYLAND_BIN);
DBG("\tLaunching XWayland: %s: %s", xserver, disp); DBG("\tLaunching %s: %s: %s", XWAYLAND_BIN, xserver, disp);
if (execl(xserver, xserver, disp, "-rootless", "-listen", abs_fd, if (execl(xserver, xserver, disp, "-rootless", "-listen", abs_fd,
"-listen", unx_fd, "-terminate", "-shm", "-listen", unx_fd, "-terminate", "-shm",
NULL) < 0) NULL) < 0)
{ {
ERR("Failed to exec XWayland: %m"); ERR("Failed to exec %s: %m", XWAYLAND_BIN);
} }
fail: fail: