diff options
Diffstat (limited to 'cpukit/sapi/src/exshutdown.c')
-rw-r--r-- | cpukit/sapi/src/exshutdown.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/sapi/src/exshutdown.c b/cpukit/sapi/src/exshutdown.c index 2b99995825..a54b1e6e86 100644 --- a/cpukit/sapi/src/exshutdown.c +++ b/cpukit/sapi/src/exshutdown.c @@ -44,8 +44,7 @@ void rtems_shutdown_executive( _SMP_Request_other_cores_to_shutdown(); #endif - _Per_CPU_Information[0].idle->Wait.return_code = result; - + _Thread_Set_global_exit_status( result ); _System_state_Set( SYSTEM_STATE_SHUTDOWN ); _Thread_Stop_multitasking(); |