diff --git a/lib/config/config.c b/lib/config/config.c index 1a9f6367d..04f917da1 100644 --- a/lib/config/config.c +++ b/lib/config/config.c @@ -1767,7 +1767,7 @@ int get_default_allocation_thin_pool_chunk_size_CFG(struct cmd_context *cmd, str uint32_t chunk_size; if (!(str = find_config_tree_str(cmd, allocation_thin_pool_chunk_size_policy_CFG, profile))) { - log_error(INTERNAL_ERROR "Cannot find profile."); + log_error(INTERNAL_ERROR "Cannot find configuration."); return 0; } diff --git a/lib/metadata/thin_manip.c b/lib/metadata/thin_manip.c index c1c90b478..cccd24425 100644 --- a/lib/metadata/thin_manip.c +++ b/lib/metadata/thin_manip.c @@ -376,7 +376,7 @@ int update_profilable_pool_params(struct cmd_context *cmd, struct profile *profi if (!(passed_args & PASS_ARG_CHUNK_SIZE)) { if (!(*chunk_size = find_config_tree_int(cmd, allocation_thin_pool_chunk_size_CFG, profile) * 2)) { if (!(str = find_config_tree_str(cmd, allocation_thin_pool_chunk_size_policy_CFG, profile))) { - log_error(INTERNAL_ERROR "Could not find profile."); + log_error(INTERNAL_ERROR "Could not find configuration."); return 0; } if (!strcasecmp(str, "generic")) @@ -401,7 +401,7 @@ int update_profilable_pool_params(struct cmd_context *cmd, struct profile *profi if (!(passed_args & PASS_ARG_DISCARDS)) { if (!(str = find_config_tree_str(cmd, allocation_thin_pool_discards_CFG, profile))) { - log_error(INTERNAL_ERROR "Could not find profile."); + log_error(INTERNAL_ERROR "Could not find configuration."); return 0; } if (!get_pool_discards(str, discards))