statistics error handling in standby mode

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2022-03-29 23:04:34 +02:00
parent 569dfd1518
commit 91866a4efe
2 changed files with 7 additions and 3 deletions

View File

@@ -1305,8 +1305,9 @@ int core_params_get(unsigned int cache_id, unsigned int core_id,
cas_printf(LOG_ERR, "Cache id %d not running\n", cache_id);
else if (cmd.ext_err_code == OCF_ERR_CORE_NOT_AVAIL)
cas_printf(LOG_ERR, "Core id %d not available\n", core_id);
else
cas_printf(LOG_ERR, "Can't get parameters\n");
else {
print_err(cmd.ext_err_code);
}
fclose(intermediate_file[0]);
fclose(intermediate_file[1]);
close(fd);