From f32cab368f7bfd6c6e46198c2d0e0fa79a3607b7 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Sat, 13 Apr 2019 08:12:06 -0700 Subject: [PATCH] st/oxr: Fix error code for empty path segments --- src/xrt/state_trackers/oxr/oxr_verify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_verify.cpp b/src/xrt/state_trackers/oxr/oxr_verify.cpp index c42d09103..560f867ea 100644 --- a/src/xrt/state_trackers/oxr/oxr_verify.cpp +++ b/src/xrt/state_trackers/oxr/oxr_verify.cpp @@ -68,7 +68,7 @@ oxr_verify_fixed_size_single_level_path(struct oxr_logger* log, } if (path[0] == '\0') { - return oxr_error(log, XR_ERROR_PATH_FORMAT_INVALID, + return oxr_error(log, XR_ERROR_NAME_INVALID, "(%s) can not be empty", name); }