diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-09 08:44:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-12 08:03:30 +0100 |
commit | 9622f7796f782a03d0c18261e21d0353880960cf (patch) | |
tree | d9b70f82ab5e952dd678e8a937b49c9c9bde59bd /cpukit/libcsupport | |
parent | INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED (diff) | |
download | rtems-9622f7796f782a03d0c18261e21d0353880960cf.tar.bz2 |
Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED
Update #2825.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/libio_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/libio_init.c b/cpukit/libcsupport/src/libio_init.c index a265290183..3fa9e0995f 100644 --- a/cpukit/libcsupport/src/libio_init.c +++ b/cpukit/libcsupport/src/libio_init.c @@ -79,8 +79,9 @@ static void rtems_libio_init( void ) RTEMS_NO_PRIORITY, &rtems_libio_semaphore ); - if ( rc != RTEMS_SUCCESSFUL ) - rtems_fatal_error_occurred( rc ); + if ( rc != RTEMS_SUCCESSFUL ) { + _Internal_error( INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED ); + } } RTEMS_SYSINIT_ITEM( |