kernel: thread: fix string for _THREAD_PRESTART
_THREAD_PRESTART means the thread was not started yet and is being setup, for example this is the case when starting a thread with a timeout. We do not have a 'restart' thread state. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
dbd054fbd3
commit
7605ac2c4c
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ const char *k_thread_state_str(k_tid_t thread_id)
|
|||
return "pending";
|
||||
break;
|
||||
case _THREAD_PRESTART:
|
||||
return "restart";
|
||||
return "prestart";
|
||||
break;
|
||||
case _THREAD_DEAD:
|
||||
return "dead";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue