binfmt_execmodule: Use heap size getter for print
This commit is contained in:
parent
0ae2e68116
commit
9c5fb9ec8d
@ -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…
x
Reference in New Issue
Block a user