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:28:31 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-12 08:03:30 +0100
commite203b65e516c8201360f018a3f029185cd10cba6 (patch)
treef3e661065ace0ceab2914fcddb7b0425ed8dc9ac /cpukit/libcsupport/src/open_dev_console.c
parentAdd INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED (diff)
downloadrtems-e203b65e516c8201360f018a3f029185cd10cba6.tar.bz2
Add INTERNAL_ERROR_LIBIO_STDERR_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 50c1e0839f..5bba0fb7e3 100644
--- a/cpukit/libcsupport/src/open_dev_console.c
+++ b/cpukit/libcsupport/src/open_dev_console.c
@@ -43,7 +43,7 @@ void rtems_libio_post_driver(void)
}
if (open("/dev/console", O_WRONLY, 0) != STDERR_FILENO) {
- rtems_fatal_error_occurred( 0x55544432 );
+ _Internal_error( INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED );
}
atexit(rtems_libio_exit);