summaryrefslogtreecommitdiff
path: root/nuttx/arch/rgmp
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r--nuttx/arch/rgmp/src/nuttx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/rgmp/src/nuttx.c b/nuttx/arch/rgmp/src/nuttx.c
index da67ac214..a4f713be6 100644
--- a/nuttx/arch/rgmp/src/nuttx.c
+++ b/nuttx/arch/rgmp/src/nuttx.c
@@ -422,7 +422,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.