diff options
Diffstat (limited to 'libcpu/arm/cortex-m33')
| -rw-r--r-- | libcpu/arm/cortex-m33/cpuport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-m33/cpuport.c b/libcpu/arm/cortex-m33/cpuport.c index a713665539..9c110c7f55 100644 --- a/libcpu/arm/cortex-m33/cpuport.c +++ b/libcpu/arm/cortex-m33/cpuport.c @@ -462,7 +462,7 @@ void rt_hw_hard_fault_exception(struct exception_info *exception_info) if (exception_info->exc_return & (1 << 2)) { - rt_kprintf("hard fault on thread: %s\r\n\r\n", rt_thread_self()->name); + rt_kprintf("hard fault on thread: %s\r\n\r\n", rt_thread_self()->parent.name); #if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS) list_thread(); |
