From 65ff48f7be9b51f25b7cb6e42d06a6358ffaf9c8 Mon Sep 17 00:00:00 2001 From: minabeoki Date: Sun, 26 Jan 2020 19:27:21 +0900 Subject: [PATCH] fix typo berr messages in binfmt_execmodule.c --- binfmt/binfmt_execmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binfmt/binfmt_execmodule.c b/binfmt/binfmt_execmodule.c index 0691c3b16a..e695be40de 100644 --- a/binfmt/binfmt_execmodule.c +++ b/binfmt/binfmt_execmodule.c @@ -209,7 +209,7 @@ int exec_module(FAR const struct binary_s *binp) ret = up_addrenv_kstackalloc(&tcb->cmn); if (ret < 0) { - berr("ERROR: up_addrenv_select() failed: %d\n", ret); + berr("ERROR: up_addrenv_kstackalloc() failed: %d\n", ret); goto errout_with_tcbinit; } #endif @@ -284,7 +284,7 @@ int exec_module(FAR const struct binary_s *binp) ret = up_addrenv_restore(&oldenv); if (ret < 0) { - berr("ERROR: up_addrenv_select() failed: %d\n", ret); + berr("ERROR: up_addrenv_restore() failed: %d\n", ret); goto errout_with_tcbinit; } #endif