Skip to content

Commit

Permalink
[bugfix] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PThierry committed Mar 2, 2020
1 parent 0a761d2 commit 2c5a603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alloc/malloc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int wmalloc_init(void)
#ifdef CONFIG_KERNEL_EWOK
task_start_heap = (physaddr_t) (&_e_bss);
task_heap_size = (physaddr_t)&_e_heap - task_start_heap;
if (task_heap_size) {
if (task_heap_size == 0) {
printf("No heap declared in this task ! check your configuration\n");
return -1;
}
Expand Down

0 comments on commit 2c5a603

Please sign in to comment.