You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/05/02 09:06:14 UTC
[incubator-nuttx] branch master updated: binfmt_execmodule: Use heap size getter for print
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 9c5fb9ec8d binfmt_execmodule: Use heap size getter for print
9c5fb9ec8d is described below
commit 9c5fb9ec8da01c63163a9a04d1452d0b6fa65da4
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Mon May 2 09:12:46 2022 +0300
binfmt_execmodule: Use heap size getter for print
---
binfmt/binfmt_execmodule.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/binfmt/binfmt_execmodule.c b/binfmt/binfmt_execmodule.c
index 66e128fc90..c2ee6cea0d 100644
--- a/binfmt/binfmt_execmodule.c
+++ b/binfmt/binfmt_execmodule.c
@@ -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