Merge pull request #1516 from mmichal10/fix-compilation

Fix checking user param
This commit is contained in:
Robert Baldyga
2024-09-11 11:19:33 +02:00
committed by GitHub

View File

@@ -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;