kernel: thread: correct type of dlist node
Although sys_dnode_t and sys_dlist_t are aliases, their roles are different and they appear in different positions in dlist API calls. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
a0e2737aff
commit
82ad0d24ca
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ struct _thread_base {
|
|||
|
||||
/* this thread's entry in a ready/wait queue */
|
||||
union {
|
||||
sys_dlist_t qnode_dlist;
|
||||
sys_dnode_t qnode_dlist;
|
||||
struct rbnode qnode_rb;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue