summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/not/not.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/not/not.cpp b/utils/not/not.cpp
index 9a924b56a7..bb2d87bb44 100644
--- a/utils/not/not.cpp
+++ b/utils/not/not.cpp
@@ -13,11 +13,10 @@
using namespace llvm;
int main(int argc, const char **argv) {
- sys::Path Program = sys::Program::FindProgramByName(argv[1]);
+ sys::Path Program = sys::FindProgramByName(argv[1]);
std::string ErrMsg;
- int Result = sys::Program::ExecuteAndWait(Program, argv + 1, 0, 0, 0, 0,
- &ErrMsg);
+ int Result = sys::ExecuteAndWait(Program, argv + 1, 0, 0, 0, 0, &ErrMsg);
if (Result < 0) {
errs() << "Error: " << ErrMsg << "\n";
return 1;