summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
authorShicheng Chu <[email protected]>2023-04-04 21:06:27 +0800
committerGitHub <[email protected]>2023-04-04 09:06:27 -0400
commit93f3cb30e48d5de341bda09fa806120e2bc3f3ad (patch)
treeb23b2343674fecbc3fdfbcd49220488da21472ed /components/libc/compilers/common
parent8a52e65013d1abb7cfc032409000533000ccd0c2 (diff)
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)
Diffstat (limited to 'components/libc/compilers/common')
-rw-r--r--components/libc/compilers/common/cstdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/cstdlib.c b/components/libc/compilers/common/cstdlib.c
index 4a978a106c..64bfbb10e0 100644
--- a/components/libc/compilers/common/cstdlib.c
+++ b/components/libc/compilers/common/cstdlib.c
@@ -20,7 +20,7 @@ void __rt_libc_exit(int status)
if (self != RT_NULL)
{
- LOG_W("thread:%s exit:%d!", self->name, status);
+ LOG_W("thread:%s exit:%d!", self->parent.name, status);
#ifdef RT_USING_PTHREADS
if(self->pthread_data != RT_NULL)
{