summaryrefslogtreecommitdiff
path: root/test/fixtures/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/util.cpp')
-rw-r--r--test/fixtures/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixtures/util.cpp b/test/fixtures/util.cpp
index 5eeb428ec7..9e929a90b4 100644
--- a/test/fixtures/util.cpp
+++ b/test/fixtures/util.cpp
@@ -59,8 +59,8 @@ Server::Server(const char* executable) {
close(output[1]);
close(output[0]);
- // Launch the actual server process, with the pipe ID as the first argument.
- int ret = execl(executable, executable);
+ // Launch the actual server process.
+ int ret = execl(executable, executable, nullptr);
// This call should not return. In case execl failed, we exit anyway.
if (ret < 0) {