diff options
Diffstat (limited to 'c/src/lib/libbsp/shared/bsppost.c')
-rw-r--r-- | c/src/lib/libbsp/shared/bsppost.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c index d3d14786ce..28a41bf4ea 100644 --- a/c/src/lib/libbsp/shared/bsppost.c +++ b/c/src/lib/libbsp/shared/bsppost.c @@ -22,13 +22,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) |