mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-17 04:15:44 +00:00
ipc: Print out all error messages, and values
This commit is contained in:
parent
576ff7d252
commit
c49abf9103
|
@ -116,8 +116,8 @@ compositor_disconnect(struct ipc_connection *ipc_c)
|
|||
|
||||
#define IPC_CALL_CHK(call) \
|
||||
xrt_result_t res = (call); \
|
||||
if (res == XRT_ERROR_IPC_FAILURE) { \
|
||||
IPC_ERROR(icc->ipc_c, "Call error '%s'!", __func__); \
|
||||
if (res != XRT_SUCCESS) { \
|
||||
IPC_ERROR(icc->ipc_c, "Call error '%i'!", res); \
|
||||
}
|
||||
|
||||
static xrt_result_t
|
||||
|
|
Loading…
Reference in a new issue