summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-15 20:46:58 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-15 20:46:58 +0000
commit53e557d670b123adf954992fb8eeeef2118eb17d (patch)
treee67b11d4011f5b6a5ddd581db514ce43d3545080 /lib/Support
parentb6c3a88dc4c749e88fdd68368d74ccfb37d506a3 (diff)
downloadllvm-53e557d670b123adf954992fb8eeeef2118eb17d.tar.gz
llvm-53e557d670b123adf954992fb8eeeef2118eb17d.tar.bz2
llvm-53e557d670b123adf954992fb8eeeef2118eb17d.tar.xz
Fix up error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/SystemUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp
index e198c7ec06..e1af3f92ce 100644
--- a/lib/Support/SystemUtils.cpp
+++ b/lib/Support/SystemUtils.cpp
@@ -125,9 +125,10 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
RedirectFD(StdErrFile, 2);
execv(ProgramPath.c_str(), (char *const *)Args);
- std::cerr << "Error executing program '" << ProgramPath;
+ std::cerr << "Error executing program: '" << ProgramPath;
for (; *Args; ++Args)
std::cerr << " " << *Args;
+ std::cerr << "'\n";
exit(1);
default: break;