summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-extract/llvm-extract.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-08 21:17:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-08 21:17:59 +0000
commitf054db3242ad5628863830bdb0a117fc1f7136a6 (patch)
tree6932adcd695c0acd8dfc7a47558f3df38afe5a27 /llvm/tools/llvm-extract/llvm-extract.cpp
parent593bf9ceb366d7e9326de4970bc4ae9b04654ba3 (diff)
downloadbcm5719-llvm-f054db3242ad5628863830bdb0a117fc1f7136a6.tar.gz
bcm5719-llvm-f054db3242ad5628863830bdb0a117fc1f7136a6.zip
Terminate an error message with a newline.
llvm-svn: 40943
Diffstat (limited to 'llvm/tools/llvm-extract/llvm-extract.cpp')
-rw-r--r--llvm/tools/llvm-extract/llvm-extract.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-extract/llvm-extract.cpp b/llvm/tools/llvm-extract/llvm-extract.cpp
index becceb690b0..728c2569f63 100644
--- a/llvm/tools/llvm-extract/llvm-extract.cpp
+++ b/llvm/tools/llvm-extract/llvm-extract.cpp
@@ -59,7 +59,7 @@ int main(int argc, char **argv) {
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));
OpenPOWER on IntegriCloud