diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2016-08-11 01:19:23 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-08-11 01:19:24 +0000 |
commit | 3609371c949ec3c31fc88bb6a2231774fdeb25c1 (patch) | |
tree | a53a1ca025dc5667a9766894c96dfdf56f091d24 /alloc-stress | |
parent | be52e2bb05032c98cd4c7ae57e71cf6de9ab4560 (diff) | |
parent | c8e11434829d7d0ee161b76098b3a23794655987 (diff) | |
download | extras-3609371c949ec3c31fc88bb6a2231774fdeb25c1.tar.gz |
Merge "alloc-stress: use nullptr for execl sentinel."
Diffstat (limited to 'alloc-stress')
-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 2fc3592a..7473ea24 100644 --- a/alloc-stress/alloc-stress.cpp +++ b/alloc-stress/alloc-stress.cpp @@ -109,7 +109,7 @@ void createProcess(Pipe pipe, const char *exName, const char *arg) 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 |