st/oxr: Correct error message

This commit is contained in:
Jakob Bornecrantz 2022-08-26 01:13:53 +01:00 committed by Moses Turner
parent 1811951dd6
commit f2b8855e51

View file

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