From f004b2b8dc1fb78eb18b21ba6b50f6c712fd94f8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 2 Oct 2018 10:22:15 +0200 Subject: Use rtems_task_exit() Update #3530. Update #3533. --- cpukit/libmisc/shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libmisc/shell/shell.c') 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) -- cgit v1.2.3