diff options
Diffstat (limited to 'nuttx/arch/z16/src/common/up_exit.c')
-rw-r--r-- | nuttx/arch/z16/src/common/up_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/z16/src/common/up_exit.c b/nuttx/arch/z16/src/common/up_exit.c index 59764484f..e4c6dcf9c 100644 --- a/nuttx/arch/z16/src/common/up_exit.c +++ b/nuttx/arch/z16/src/common/up_exit.c @@ -155,7 +155,7 @@ void _exit(int status) /* Destroy the task at the head of the ready to run list. */ - (void)task_deletecurrent(); + (void)task_exit(); /* Now, perform the context switch to the new ready-to-run task at the * head of the list. |