diff options
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r-- | cpukit/score/src/heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c index 30779ebfed..89dcd34fa6 100644 --- a/cpukit/score/src/heap.c +++ b/cpukit/score/src/heap.c @@ -132,7 +132,7 @@ static uint32_t instance = 0; block->Protection_begin.protector [0] = HEAP_BEGIN_PROTECTOR_0; block->Protection_begin.protector [1] = HEAP_BEGIN_PROTECTOR_1; block->Protection_begin.next_delayed_free_block = NULL; - block->Protection_begin.task = _Thread_Executing; + block->Protection_begin.task = _Thread_Get_executing(); block->Protection_begin.tag = NULL; block->Protection_end.protector [0] = HEAP_END_PROTECTOR_0; block->Protection_end.protector [1] = HEAP_END_PROTECTOR_1; |