diff options
Diffstat (limited to 'alloc-stress/alloc-stress.cpp')
-rw-r--r-- | alloc-stress/alloc-stress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alloc-stress/alloc-stress.cpp b/alloc-stress/alloc-stress.cpp index 726ea966..12eecc5a 100644 --- a/alloc-stress/alloc-stress.cpp +++ b/alloc-stress/alloc-stress.cpp @@ -111,7 +111,7 @@ void createProcess(Pipe pipe, const char *exName, const char *arg) char writeFdStr[16]; snprintf(readFdStr, sizeof(readFdStr), "%d", pipe.getReadFd()); snprintf(writeFdStr, sizeof(writeFdStr), "%d", pipe.getWriteFd()); - execl(exName, exName, "--worker", arg, readFdStr, writeFdStr, 0); + execl(exName, exName, "--worker", arg, readFdStr, writeFdStr, nullptr); ASSERT_TRUE(0); } // parent process |