summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Driver.cpp2
-rw-r--r--lld/test/ELF/basic.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index db671f086a8..bbcd6822b70 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -630,7 +630,7 @@ void LinkerDriver::createFiles(opt::InputArgList &Args) {
}
if (Files.empty() && !HasError)
- error("no input files.");
+ error("no input files");
// If -m <machine_type> was not given, infer it from object files.
if (Config->EKind == ELFNoneKind) {
diff --git a/lld/test/ELF/basic.s b/lld/test/ELF/basic.s
index 69ff254f8cd..c326dd18fcc 100644
--- a/lld/test/ELF/basic.s
+++ b/lld/test/ELF/basic.s
@@ -207,7 +207,7 @@ _start:
# RUN: not ld.lld -o %t2 2>&1 | \
# RUN: FileCheck --check-prefix=NO_INPUT %s
-# NO_INPUT: no input files.
+# NO_INPUT: no input files
# RUN: not ld.lld %t.no.such.file -o %t2 2>&1 | \
# RUN: FileCheck --check-prefix=CANNOT_OPEN %s
OpenPOWER on IntegriCloud