summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r--lld/ELF/Driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index a010b399f2c..2fd24e4b77a 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -92,7 +92,7 @@ void LinkerDriver::addFile(StringRef Path) {
using namespace llvm::sys::fs;
log(Path);
auto MBOrErr = MemoryBuffer::getFile(Path);
- if (error(MBOrErr, "Cannot open " + Path))
+ if (error(MBOrErr, "cannot open " + Path))
return;
std::unique_ptr<MemoryBuffer> &MB = *MBOrErr;
MemoryBufferRef MBRef = MB->getMemBufferRef();
@@ -312,7 +312,7 @@ void LinkerDriver::createFiles(opt::InputArgList &Args) {
}
if (Files.empty() && !HasError)
- error("No input files");
+ error("no input files.");
}
template <class ELFT> static void initSymbols() {
OpenPOWER on IntegriCloud