summaryrefslogtreecommitdiff
path: root/utils/not/not.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:10:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:10:56 +0000
commit044eb2f6afba375a914ac9d8024f8f5142bb912e (patch)
tree1475247dc9f9fe5be155ebd4c9069c75aadf8c20 /utils/not/not.cpp
parenteb70dddbd77e120e5d490bd8fbe7ff3f8fa81c6b (diff)
Notes
Diffstat (limited to 'utils/not/not.cpp')
-rw-r--r--utils/not/not.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/not/not.cpp b/utils/not/not.cpp
index 271fbcfe94ae..de71b4c68878 100644
--- a/utils/not/not.cpp
+++ b/utils/not/not.cpp
@@ -39,8 +39,7 @@ int main(int argc, const char **argv) {
}
std::string ErrMsg;
- int Result = sys::ExecuteAndWait(*Program, argv, nullptr, nullptr, 0, 0,
- &ErrMsg);
+ int Result = sys::ExecuteAndWait(*Program, argv, nullptr, {}, 0, 0, &ErrMsg);
#ifdef _WIN32
// Handle abort() in msvcrt -- It has exit code as 3. abort(), aka
// unreachable, should be recognized as a crash. However, some binaries use