sched/environ: Replace get_environ_ptr with environ

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-04-21 19:22:10 +08:00
committed by Petro Karashchenko
parent 9794068a9c
commit 76803f4a07
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ int exec_module(FAR const struct binary_s *binp,
/* Make a copy of the environment here */
if (envp || (envp = get_environ_ptr()))
if (envp || (envp = environ))
{
envp = binfmt_copyenv(envp);
if (!envp)