[llvm-commits] CVS: llvm/lib/Support/SystemUtils.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Oct 15 15:48:02 PDT 2003


Changes in directory llvm/lib/Support:

SystemUtils.cpp updated: 1.16 -> 1.17

---
Log message:

Fix up error message.


---
Diffs of the changes:  (+2 -1)

Index: llvm/lib/Support/SystemUtils.cpp
diff -u llvm/lib/Support/SystemUtils.cpp:1.16 llvm/lib/Support/SystemUtils.cpp:1.17
--- llvm/lib/Support/SystemUtils.cpp:1.16	Mon Sep 29 17:40:07 2003
+++ llvm/lib/Support/SystemUtils.cpp	Wed Oct 15 15:46:58 2003
@@ -125,9 +125,10 @@
     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;





More information about the llvm-commits mailing list