Commit f32cab36 authored by Benjamin Saunders's avatar Benjamin Saunders Committed by Jakob Bornecrantz

st/oxr: Fix error code for empty path segments

parent a776b941
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment