libc: Fix typo error in execle

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-22 11:43:03 +08:00 committed by Petro Karashchenko
parent 49eb2bd415
commit 69b5799b74

View File

@ -170,9 +170,9 @@ int execle(FAR const char *path, FAR const char *arg0, ...)
va_end(ap);
/* Then let execv() do the real work */
/* Then let execve() do the real work */
ret = execv(path, argv, envp);
ret = execve(path, argv, envp);
/* Free the allocated argv[] list */