mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Correct the error messages on sub action paths errors
This commit is contained in:
parent
6d61b9dec2
commit
e5c9636f10
1
doc/changes/state_trackers/mr.359.13.md
Normal file
1
doc/changes/state_trackers/mr.359.13.md
Normal file
|
@ -0,0 +1 @@
|
|||
OpenXR: Correct the error messages on sub action paths errors.
|
|
@ -328,7 +328,7 @@ subaction_path_no_dups(struct oxr_logger *log,
|
|||
size_t length = 0;
|
||||
|
||||
oxr_path_get_string(log, inst, path, &str, &length);
|
||||
return oxr_error(log, XR_ERROR_PATH_INVALID,
|
||||
return oxr_error(log, XR_ERROR_PATH_UNSUPPORTED,
|
||||
"(%s[%u] == '%s') path is not a "
|
||||
"valid subaction path.",
|
||||
variable, index, str);
|
||||
|
@ -340,7 +340,7 @@ subaction_path_no_dups(struct oxr_logger *log,
|
|||
|
||||
oxr_path_get_string(log, inst, path, &str, &length);
|
||||
|
||||
return oxr_error(log, XR_ERROR_PATH_INVALID,
|
||||
return oxr_error(log, XR_ERROR_PATH_UNSUPPORTED,
|
||||
"(%s[%u] == '%s') duplicate paths", variable,
|
||||
index, str);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue