summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsplibc.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/bsplibc.c')
-rw-r--r--c/src/lib/libbsp/shared/bsplibc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c
index 11c0c49607..d2030efbc4 100644
--- a/c/src/lib/libbsp/shared/bsplibc.c
+++ b/c/src/lib/libbsp/shared/bsplibc.c
@@ -24,8 +24,8 @@ void bsp_libc_init(
* calls for use by newlib (ie: provide open, close, etc)
* Uses malloc() to get area for the iops, so must be after malloc init
*/
-
- rtems_libio_init();
+ if (rtems_libio_init_helper)
+ (*rtems_libio_init_helper)();
/*
* Set up for the libc handling.