diff options
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index f9672c100b..6603ab00d3 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -1389,9 +1389,9 @@ run_util_spawn_background(const char *argv[], const char *expected_out, /* Start the program */ #ifdef MS_WINDOWS - tor_spawn_background(NULL, argv, &process_handle); + tor_spawn_background(NULL, argv, NULL, &process_handle); #else - tor_spawn_background(argv[0], argv, &process_handle); + tor_spawn_background(argv[0], argv, NULL, &process_handle); #endif tt_int_op(process_handle.status, ==, expected_status); @@ -1506,9 +1506,9 @@ test_util_spawn_background_partial_read(void *ptr) /* Start the program */ #ifdef MS_WINDOWS - tor_spawn_background(NULL, argv, &process_handle); + tor_spawn_background(NULL, argv, NULL, &process_handle); #else - tor_spawn_background(argv[0], argv, &process_handle); + tor_spawn_background(argv[0], argv, NULL, &process_handle); #endif tt_int_op(process_handle.status, ==, expected_status); |