diff options
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/common/cstdlib.c | 2 |
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) { |
