mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
binfmt_execmodule: Use heap size getter for print
This commit is contained in:
@@ -181,7 +181,8 @@ int exec_module(FAR const struct binary_s *binp,
|
|||||||
goto errout_with_addrenv;
|
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));
|
umm_initialize(vheap, up_addrenv_heapsize(&binp->addrenv));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user