[llvm-commits] [llvm] r40943 - /llvm/trunk/tools/llvm-extract/llvm-extract.cpp
Reid Spencer
rspencer at reidspencer.com
Wed Aug 8 14:17:59 PDT 2007
Author: reid
Date: Wed Aug 8 16:17:59 2007
New Revision: 40943
URL: http://llvm.org/viewvc/llvm-project?rev=40943&view=rev
Log:
Terminate an error message with a newline.
Modified:
llvm/trunk/tools/llvm-extract/llvm-extract.cpp
Modified: llvm/trunk/tools/llvm-extract/llvm-extract.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-extract/llvm-extract.cpp?rev=40943&r1=40942&r2=40943&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-extract/llvm-extract.cpp (original)
+++ llvm/trunk/tools/llvm-extract/llvm-extract.cpp Wed Aug 8 16:17:59 2007
@@ -59,7 +59,7 @@
MemoryBuffer *Buffer = MemoryBuffer::getFileOrSTDIN(InputFilename);
if (Buffer == 0) {
- cerr << "Error reading file '" + InputFilename + "'";
+ cerr << argv[0] << "Error reading file '" + InputFilename + "'\n";
return 1;
} else {
M.reset(ParseBitcodeFile(Buffer));
More information about the llvm-commits
mailing list