mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +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;
|
size_t length = 0;
|
||||||
|
|
||||||
oxr_path_get_string(log, inst, path, &str, &length);
|
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 "
|
"(%s[%u] == '%s') path is not a "
|
||||||
"valid subaction path.",
|
"valid subaction path.",
|
||||||
variable, index, str);
|
variable, index, str);
|
||||||
|
@ -340,7 +340,7 @@ subaction_path_no_dups(struct oxr_logger *log,
|
||||||
|
|
||||||
oxr_path_get_string(log, inst, path, &str, &length);
|
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,
|
"(%s[%u] == '%s') duplicate paths", variable,
|
||||||
index, str);
|
index, str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue