Description:repair log print

Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: cat <chenjinxiang3@huawei.com>
This commit is contained in:
cat 2024-08-31 10:31:58 +00:00
parent 5228e384fa
commit 9aa5c31c2c

View File

@ -60,7 +60,7 @@ typedef enum {
} StartupInitErrno;
#if (defined(STARTUP_INIT_TEST) || defined(APPSPAWN_TEST))
#define FILE_NAME (strrchr((__FILE_NAME__), '/') + 1)
#define FILE_NAME (__FILE_NAME__)
#define STATIC
#else
#define FILE_NAME (strrchr((__FILE_NAME__), '/') ? strrchr((__FILE_NAME__), '/') + 1 : (__FILE_NAME__))