summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/open_dev_console.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-09 09:27:15 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-12 08:03:30 +0100
commita5ba08eb4f20591e8c36a12ae4a30c13f8be5c56 (patch)
tree458d60616b58bae0db505ec73081d7e522ebcb03 /cpukit/libcsupport/src/open_dev_console.c
parentlibio: Ensure proper std file descriptors (diff)
downloadrtems-a5ba08eb4f20591e8c36a12ae4a30c13f8be5c56.tar.bz2
Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED
Update #2825.
Diffstat (limited to 'cpukit/libcsupport/src/open_dev_console.c')
-rw-r--r--cpukit/libcsupport/src/open_dev_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/open_dev_console.c b/cpukit/libcsupport/src/open_dev_console.c
index 14257e8d29..50c1e0839f 100644
--- a/cpukit/libcsupport/src/open_dev_console.c
+++ b/cpukit/libcsupport/src/open_dev_console.c
@@ -39,7 +39,7 @@ void rtems_libio_post_driver(void)
* or something is REALLY wrong.
*/
if (open("/dev/console", O_WRONLY, 0) != STDOUT_FILENO) {
- rtems_fatal_error_occurred( 0x55544431 );
+ _Internal_error( INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED );
}
if (open("/dev/console", O_WRONLY, 0) != STDERR_FILENO) {