From 25771f3cf4ef11c56fae54a15adecd281a56e093 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Tue, 21 Jul 2020 14:42:58 +0900 Subject: [PATCH] Fix svace issue[WGID=443239] Change-Id: I79e3b1c283f9813efb48caffd7c5c30b8c2afc95 Signed-off-by: Inki Dae --- src/inference_engine_mlapi.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index 0b620f5..b4d7a04 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -129,9 +129,8 @@ namespace MLAPIImpl if (access(model_str.c_str(), R_OK) || access(model_paths[1].c_str(), R_OK)) { - LOGE("model file path in [%s,%s], errno=%s", model_str.c_str(), - model_paths[1].c_str(), - strerror(errno)); + LOGE("model file path in [%s,%s]", model_str.c_str(), + model_paths[1].c_str()); return INFERENCE_ENGINE_ERROR_INVALID_PATH; } @@ -143,8 +142,7 @@ namespace MLAPIImpl nnfw_type = ML_NNFW_TYPE_NNFW; if (access(model_str.c_str(), R_OK)) { - LOGE("model file path in [%s], errno=%s", model_str.c_str(), - strerror(errno)); + LOGE("model file path in [%s]", model_str.c_str()); return INFERENCE_ENGINE_ERROR_INVALID_PATH; } -- 2.7.4