summaryrefslogtreecommitdiff
path: root/components/vbus
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/vbus
parent8a52e65013d1abb7cfc032409000533000ccd0c2 (diff)
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)
Diffstat (limited to 'components/vbus')
-rw-r--r--components/vbus/watermark_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/vbus/watermark_queue.c b/components/vbus/watermark_queue.c
index 15c42d8080..6108046905 100644
--- a/components/vbus/watermark_queue.c
+++ b/components/vbus/watermark_queue.c
@@ -46,7 +46,7 @@ void rt_wm_que_dump(struct rt_watermark_queue *wg)
thread = rt_list_entry(wg->suspended_threads.next,
struct rt_thread,
tlist);
- rt_kprintf(" %.*s", RT_NAME_MAX, thread->name);
+ rt_kprintf(" %.*s", RT_NAME_MAX, thread->parent.name);
}
rt_kprintf("\n");
}