ipc: Print out all error messages, and values

This commit is contained in:
Jakob Bornecrantz 2021-04-16 15:06:24 +01:00 committed by Jakob Bornecrantz
parent 576ff7d252
commit c49abf9103

View file

@ -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