diff options
Diffstat (limited to 'nuttx/arch/sh/src/common/up_exit.c')
-rw-r--r-- | nuttx/arch/sh/src/common/up_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/common/up_exit.c b/nuttx/arch/sh/src/common/up_exit.c index 31c8e0404..e454d1b64 100644 --- a/nuttx/arch/sh/src/common/up_exit.c +++ b/nuttx/arch/sh/src/common/up_exit.c @@ -154,7 +154,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. |