st/oxr: Fix error code for empty path segments

This commit is contained in:
Benjamin Saunders 2019-04-13 08:12:06 -07:00 committed by Jakob Bornecrantz
parent a776b94147
commit f32cab368f

View file

@ -68,7 +68,7 @@ oxr_verify_fixed_size_single_level_path(struct oxr_logger* log,
} }
if (path[0] == '\0') { 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); "(%s) can not be empty", name);
} }