From 4b5792626a28ce043973b9d1699c3af7172ae431 Mon Sep 17 00:00:00 2001 From: zhanzeyi Date: Fri, 27 Sep 2024 10:01:35 +0800 Subject: [PATCH] fix warning Signed-off-by: zhanzeyi --- hapsigntool_cpp/utils/include/signature_tools_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapsigntool_cpp/utils/include/signature_tools_log.h b/hapsigntool_cpp/utils/include/signature_tools_log.h index e023a7df..7bfcc632 100644 --- a/hapsigntool_cpp/utils/include/signature_tools_log.h +++ b/hapsigntool_cpp/utils/include/signature_tools_log.h @@ -33,7 +33,7 @@ static const int PLACEHOLDERLEN = 3; static const int SCALE = 1000; #define SIGNATURE_LOG(level, fmt, ...) \ - printf("[%s] [%s] [%s] [%d] " fmt "\n", level, __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__) \ + printf("[%s] [%s] [%s] [%d] " fmt "\n", level, __FILE_NAME__, __FUNCTION__, __LINE__, ##__VA_ARGS__) \ #ifdef SIGNATURE_LOG_DEBUG #define SIGNATURE_TOOLS_LOGI(fmt, ...) SIGNATURE_LOG("Info", fmt, ##__VA_ARGS__) -- Gitee