mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Correct error message
This commit is contained in:
parent
1811951dd6
commit
f2b8855e51
|
@ -268,7 +268,7 @@ oxr_instance_create(struct oxr_logger *log,
|
|||
|
||||
xret = xrt_instance_create(&i_info, &inst->xinst);
|
||||
if (xret != XRT_SUCCESS) {
|
||||
ret = oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Failed to create prober");
|
||||
ret = oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Failed to create instance '%i'", xret);
|
||||
oxr_instance_destroy(log, &inst->handle);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue