diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-11 02:21:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-11 02:21:48 +0200 |
commit | 1a03204ad08d47f7a05721926d7d02930c6ea7e2 (patch) | |
tree | 802b28b50151d054f27d05719d8d1aa3d7fc0dcf /src | |
parent | typo (diff) | |
download | slibc-1a03204ad08d47f7a05721926d7d02930c6ea7e2.tar.gz slibc-1a03204ad08d47f7a05721926d7d02930c6ea7e2.tar.bz2 slibc-1a03204ad08d47f7a05721926d7d02930c6ea7e2.tar.xz |
fix m error
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/unistd/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/exec.c b/src/unistd/exec.c index 5e7aeb8..1408cbf 100644 --- a/src/unistd/exec.c +++ b/src/unistd/exec.c @@ -58,7 +58,7 @@ static void vexec(const char* file, va_list argv, int fetch_envp, int use_path) argv_ = alloca(n * sizeof(char*)); for (i = 0; i < n; i++) - argv_[i] = va_arg(args, char*); + argv_[i] = va_arg(argv, char*); (void)(use_path ? execvpe : execve)(file, argv_, envp); } |