Diff between c63b7b0d732ef73c7a9d3cdcbbd20fe4ccdd6a87 and 9f4b2d0287ef1d4a70648250aeff0d8aa4f61ccc
Changed Files
| File | Additions | Deletions | Status |
| tools/test-runner.c | +2 | -2 | modified |
Full Patch
diff --git a/tools/test-runner.c b/tools/test-runner.c
index 5bdcf42..134e26f 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -641,7 +641,7 @@ static const char *monitor_table[] = {
static pid_t start_btmon(const char *home)
{
const char *monitor = NULL;
- char *argv[3], *envp[2];
+ char *argv[3];
pid_t pid;
int i;
@@ -679,7 +679,7 @@ static pid_t start_btmon(const char *home)
}
if (pid == 0) {
- execve(argv[0], argv, envp);
+ execv(argv[0], argv);
exit(EXIT_SUCCESS);
}