From 9dd25cbbba17c4193a95e19a68c06071bcd93323 Mon Sep 17 00:00:00 2001 From: Ji Luo Date: Thu, 24 Oct 2019 14:06:41 +0800 Subject: [PATCH] MA-15715-1 Refine trusty logs Refine trusty logs output to make it more simple. Test: boots. Change-Id: Id94fc245206c5f78e0dbcb0baf5db6475c9f744d Signed-off-by: Ji Luo (cherry picked from commit a50b4fca22111fe7b85b5584ff317db55d664c50) (cherry picked from commit c17f0cb30c23ed6dab7312cec88707cb355e91a3) --- include/trusty/util.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/trusty/util.h b/include/trusty/util.h index 72b960eacb..fff81c183e 100644 --- a/include/trusty/util.h +++ b/include/trusty/util.h @@ -75,8 +75,7 @@ const char* trusty_basename(const char* str); */ #define trusty_info(message, ...) \ do { \ - trusty_printf(trusty_basename(__FILE__)); \ - trusty_printf(": INFO "); \ + trusty_printf("INFO "); \ trusty_printf(message, ##__VA_ARGS__); \ } while(0) -- 2.17.1