From 580d5506cd82bc55e1ce60560eb1c5e445000226 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Fri, 10 May 2019 12:49:51 +0200 Subject: [PATCH] Stop treating UUID as ANSI string Signed-off-by: Robert Baldyga --- src/mngt/ocf_mngt_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mngt/ocf_mngt_core.c b/src/mngt/ocf_mngt_core.c index 2189511..4aec917 100644 --- a/src/mngt/ocf_mngt_core.c +++ b/src/mngt/ocf_mngt_core.c @@ -310,9 +310,8 @@ static int __ocf_mngt_try_find_core_id(ocf_cache_t cache, struct ocf_mngt_core_config *cfg, ocf_core_id_t tmp_core_id) { if (tmp_core_id == OCF_CORE_MAX) { - /* FIXME: uuid.data could be not NULL-terminated ANSI string */ - ocf_cache_log(cache, log_err, "Core with uuid %s not found in " - "cache metadata\n", (char*) cfg->uuid.data); + ocf_cache_log(cache, log_err, "Core with given uuid not found " + "in cache metadata\n"); return -OCF_ERR_CORE_NOT_AVAIL; }