summaryrefslogtreecommitdiff
path: root/src/file.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-02-26 18:30:00 -0500
committerPaul Smith <psmith@gnu.org>2022-02-27 18:01:13 -0500
commit236589642ed15c4231f618433d0a0daa52b9fa79 (patch)
tree4847ddd7456c033e8ab655dca5b2f232ad0bd136 /src/file.c
parentcb9ac2b0ccd02ced98b32e66952b98b6d40dfe9d (diff)
downloadmake-git-236589642ed15c4231f618433d0a0daa52b9fa79.tar.gz
Remove extraneous characters from fatal() calls
The fatal() method adds ". Stop.\n" to every message. * src/amiga.c (MyExecute): Remove newline from fatal() message. * src/job.c (<various>): Ditto. * src/file.c (snap_deps): Remove "." from fatal() message. * src/main.c (main): Ditto. * src/load.c: Ditto. * tests/scripts/targets/NOTINTERMEDIATE: Fix expected output.
Diffstat (limited to 'src/file.c')
-rw-r--r--src/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.c b/src/file.c
index f9ef596c..2afad872 100644
--- a/src/file.c
+++ b/src/file.c
@@ -816,7 +816,7 @@ snap_deps (void)
for (f2 = d->file; f2 != 0; f2 = f2->prev)
if (f2->notintermediate)
OS (fatal, NILF,
- _("%s cannot be both .NOTINTERMEDIATE and .INTERMEDIATE."),
+ _("%s cannot be both .NOTINTERMEDIATE and .INTERMEDIATE"),
f2->name);
else
f2->intermediate = 1;
@@ -831,7 +831,7 @@ snap_deps (void)
for (f2 = d->file; f2 != 0; f2 = f2->prev)
if (f2->notintermediate)
OS (fatal, NILF,
- _("%s cannot be both .NOTINTERMEDIATE and .SECONDARY."),
+ _("%s cannot be both .NOTINTERMEDIATE and .SECONDARY"),
f2->name);
else
f2->intermediate = f2->secondary = 1;