summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/open_dev_console.c
diff options
context:
space:
mode:
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) {