mirror of
https://github.com/fluencelabs/musl
synced 2025-06-22 19:21:58 +00:00
global cleanup to use the new syscall interface
This commit is contained in:
@ -4,5 +4,5 @@
|
||||
int execve(const char *path, char *const argv[], char *const envp[])
|
||||
{
|
||||
/* do we need to use environ if envp is null? */
|
||||
return syscall3(__NR_execve, (long)path, (long)argv, (long)envp);
|
||||
return syscall(SYS_execve, path, argv, envp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user