From f2b8855e5182ebadfdb46ce8ab66b2dd4bc393fa Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 26 Aug 2022 01:13:53 +0100 Subject: [PATCH] st/oxr: Correct error message --- src/xrt/state_trackers/oxr/oxr_instance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_instance.c b/src/xrt/state_trackers/oxr/oxr_instance.c index 4ad59f2a7..e7a963e72 100644 --- a/src/xrt/state_trackers/oxr/oxr_instance.c +++ b/src/xrt/state_trackers/oxr/oxr_instance.c @@ -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; }