From 93f3cb30e48d5de341bda09fa806120e2bc3f3ad Mon Sep 17 00:00:00 2001 From: Shicheng Chu <1468559561@qq.com> Date: Tue, 4 Apr 2023 21:06:27 +0800 Subject: [kernel] 将rt_thread结构体改为显式继承rt_object (#7131) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/lwip/port/sys_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/net') diff --git a/components/net/lwip/port/sys_arch.c b/components/net/lwip/port/sys_arch.c index 145958a0fb..066a75e92a 100644 --- a/components/net/lwip/port/sys_arch.c +++ b/components/net/lwip/port/sys_arch.c @@ -525,7 +525,7 @@ void sys_arch_unprotect(sys_prot_t pval) void sys_arch_assert(const char *file, int line) { rt_kprintf("\nAssertion: %d in %s, thread %s\n", - line, file, rt_thread_self()->name); + line, file, rt_thread_self()->parent.name); RT_ASSERT(0); } -- cgit v1.3.1