--- server/tests/test_display_base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index b197d1b..02f3378 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -88,10 +88,11 @@ static void regression_test(void) pid = fork(); if (pid == 0) { char buf[PATH_MAX]; + char *argv[] = { NULL }; char *envp[] = {buf, NULL}; snprintf(buf, sizeof(buf), "PATH=%s", getenv("PATH")); - execve("regression_test.py", NULL, envp); + execve("regression_test.py", argv, envp); } else if (pid > 0) { return; } -- 1.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel