summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsppost.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/bsppost.c')
-rw-r--r--c/src/lib/libbsp/shared/bsppost.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c
index 273ef3baf0..0794a9d52b 100644
--- a/c/src/lib/libbsp/shared/bsppost.c
+++ b/c/src/lib/libbsp/shared/bsppost.c
@@ -4,7 +4,7 @@
* Newlib will automatically associate the file descriptors
* with the first thress files opened.
*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -17,11 +17,13 @@
#include <fcntl.h>
#include <rtems.h>
+#include <rtems/libio.h>
#include <rtems/libcsupport.h>
#include <bsp/bootcard.h>
void bsp_postdriver_hook(void)
{
- open_dev_console();
+ if (rtems_libio_supp_helper)
+ (*rtems_libio_supp_helper)();
}