diff options
Diffstat (limited to 'llvm/utils/not/not.cpp')
| -rw-r--r-- | llvm/utils/not/not.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/not/not.cpp b/llvm/utils/not/not.cpp index ebd16189c9b..546f989d7fa 100644 --- a/llvm/utils/not/not.cpp +++ b/llvm/utils/not/not.cpp @@ -30,7 +30,8 @@ int main(int argc, const char **argv) { std::string Program = sys::FindProgramByName(argv[0]); std::string ErrMsg; - int Result = sys::ExecuteAndWait(Program, argv, 0, 0, 0, 0, &ErrMsg); + int Result = sys::ExecuteAndWait(Program, argv, nullptr, nullptr, 0, 0, + &ErrMsg); if (Result < 0) { errs() << "Error: " << ErrMsg << "\n"; if (ExpectCrash) |

