mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-28 09:01:34 +01:00
ipc: Print on system property get failure
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2626>
This commit is contained in:
1 parent
6630647aa0
commit
ff04e8a4fd
1 file changed
+3
@@ -1,4 +1,5 @@
|
||||
// Copyright 2020-2023, Collabora, Ltd.
|
||||
// Copyright 2025, NVIDIA CORPORATION.
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
/*!
|
||||
* @file
|
||||
@@ -135,7 +136,9 @@ struct xrt_system *
|
||||
ipc_client_system_create(struct ipc_connection *ipc_c, struct xrt_system_compositor *xsysc)
|
||||
{
|
||||
struct ipc_client_system *icsys = U_TYPED_CALLOC(struct ipc_client_system);
|
||||
|
||||
xrt_result_t xret = ipc_call_system_get_properties(ipc_c, &icsys->base.properties);
|
||||
IPC_CHK_ONLY_PRINT(ipc_c, xret, "ipc_call_system_get_properties");
|
||||
if (xret != XRT_SUCCESS) {
|
||||
free(icsys);
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user