Merge pull request #1516 from mmichal10/fix-compilation
Fix checking user param
This commit is contained in:
commit
252866d840
@ -1075,7 +1075,7 @@ int cache_mngt_core_pool_get_paths(struct kcas_core_pool_path *cmd_info)
|
||||
struct get_paths_ctx visitor_ctx = {0};
|
||||
int result;
|
||||
|
||||
if (visitor_ctx->core_path_name_tab == NULL)
|
||||
if (cmd_info->core_path_tab == NULL)
|
||||
return -EINVAL;
|
||||
|
||||
visitor_ctx.core_path_name_tab = cmd_info->core_path_tab;
|
||||
|
Loading…
Reference in New Issue
Block a user