Fix up error message.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 15 Oct 2003 20:46:58 +0000 (20:46 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 15 Oct 2003 20:46:58 +0000 (20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9139 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/SystemUtils.cpp

index e198c7ec063ef73de36dff4d7ffbd3c710498a78..e1af3f92cecb7ad6c4b7f1034769a42e698d8fb6 100644 (file)
@@ -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;