binfmt_execmodule: Use heap size getter for print
This commit is contained in:
parent
0ae2e68116
commit
9c5fb9ec8d
1 changed files with 2 additions and 1 deletions
|
|
@ -181,7 +181,8 @@ int exec_module(FAR const struct binary_s *binp,
|
|||
goto errout_with_addrenv;
|
||||
}
|
||||
|
||||
binfo("Initialize the user heap (heapsize=%zu)\n", binp->addrenv.heapsize);
|
||||
binfo("Initialize the user heap (heapsize=%zu)\n",
|
||||
up_addrenv_heapsize(&binp->addrenv));
|
||||
umm_initialize(vheap, up_addrenv_heapsize(&binp->addrenv));
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue