mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
st/oxr: Fix error code for empty path segments
This commit is contained in:
parent
a776b94147
commit
f32cab368f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue