diff options
Diffstat (limited to 'c/src/lib/libbsp/shared/bootcard.c')
-rw-r--r-- | c/src/lib/libbsp/shared/bootcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index a18eb7014a..f83c109b4f 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -87,7 +87,7 @@ static rtems_status_code bootcard_bsp_libc_helper( * work area up to the work space start as heap area. */ heap_size_default = (intptr_t) ((char *) Configuration.work_space_start - - (char *) work_area_start); + - (char *) heap_start); /* Keep it as a multiple of 16 bytes */ heap_size_default &= ~((intptr_t) 0xf); |