Diff between 0640d99ebfaebe7b455a8bd35fefbb9a93485910 and 9672cf410f8bf5445df98b221f24c035664fec11

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 ff5e198..9083272 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -698,7 +698,7 @@ static const char *btvirt_table[] = {
 static pid_t start_btvirt(const char *home)
 {
 	const char *btvirt = NULL;
-	char *argv[3], *envp[2];
+	char *argv[3];
 	pid_t pid;
 	int i;
 
@@ -736,7 +736,7 @@ static pid_t start_btvirt(const char *home)
 	}
 
 	if (pid == 0) {
-		execve(argv[0], argv, envp);
+		execv(argv[0], argv);
 		exit(EXIT_SUCCESS);
 	}