diff options
author | dzwdz | 2022-07-27 13:59:52 +0200 |
---|---|---|
committer | dzwdz | 2022-07-27 13:59:52 +0200 |
commit | c77b0fa7916f79c099ee4a6a80a093334e9090ac (patch) | |
tree | 19eaedcecaa1584b83342853f1616975b50cad97 /src/user/lib/stdlib.c | |
parent | 55b3a04e97b7ddd0db17a4fc3ba35461b106b92f (diff) |
user/libc: execve() supports passing argv now
Diffstat (limited to 'src/user/lib/stdlib.c')
-rw-r--r-- | src/user/lib/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/stdlib.c b/src/user/lib/stdlib.c index 179bd8f..0795d3d 100644 --- a/src/user/lib/stdlib.c +++ b/src/user/lib/stdlib.c @@ -25,7 +25,7 @@ int execv(const char *path, char *const argv[]) { if (!file) return -1; - elf_execf(file); + elf_execf(file, (void*)argv, NULL); fclose(file); errno = EINVAL; return -1; |