From 2083bc11566557ea605663b0db1f613dbbba0408 Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Tue, 5 Jan 2021 13:03:58 +0800 Subject: [PATCH] Model execute fail --- inc/framework/common/debug/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/framework/common/debug/log.h b/inc/framework/common/debug/log.h index b55cc28c..72dba126 100644 --- a/inc/framework/common/debug/log.h +++ b/inc/framework/common/debug/log.h @@ -28,7 +28,7 @@ #include "ge/ge_api_error_codes.h" #if !defined(__ANDROID__) && !defined(ANDROID) -#define DOMI_LOGE(...) GE_LOG_ERROR(GE_MODULE_NAME, ge::FAILED, __VA_ARGS__) +#define DOMI_LOGE(fmt, ...) GE_LOG_ERROR(GE_MODULE_NAME, ge::FAILED, fmt, ##__VA_ARGS__) #else #include #if defined(BUILD_VERSION_PERF)