summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-02 10:22:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-02 10:22:15 +0200
commitf004b2b8dc1fb78eb18b21ba6b50f6c712fd94f8 (patch)
tree19c85986b72c5a3b867e811975d7439ebb1d18d1 /cpukit/libmisc/shell/shell.c
parentrtems: Add rtems_task_exit() (diff)
downloadrtems-f004b2b8dc1fb78eb18b21ba6b50f6c712fd94f8.tar.bz2
Use rtems_task_exit()
Update #3530. Update #3533.
Diffstat (limited to 'cpukit/libmisc/shell/shell.c')
-rw-r--r--cpukit/libmisc/shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index b6aae781c5..d1fc9c65df 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -680,7 +680,7 @@ static rtems_task rtems_shell_task(rtems_task_argument task_argument)
rtems_shell_main_loop( shell_env );
if (wake_on_end != RTEMS_INVALID_ID)
rtems_event_send (wake_on_end, RTEMS_EVENT_1);
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
static bool rtems_shell_init_user_env(void)