summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-07-23 18:55:21 +0000
committernate <nate@FreeBSD.org>1996-07-23 18:55:21 +0000
commit7737f5d2e9b626352e2fee6a5c198a3ca15a8ba4 (patch)
treea22f1544b717ab98f84325163bb3c4705b76de74 /usr.bin
parent1499b723bf88e94551babdefaccd5fd26e3262bd (diff)
downloadFreeBSD-src-7737f5d2e9b626352e2fee6a5c198a3ca15a8ba4.zip
FreeBSD-src-7737f5d2e9b626352e2fee6a5c198a3ca15a8ba4.tar.gz
'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index a56e398..b0454a6 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -2606,7 +2606,7 @@ Parse_MainName()
main = Lst_Init (FALSE);
if (mainNode == NILGNODE) {
- Punt ("make: no target to make.\n");
+ Punt ("no target to make.");
/*NOTREACHED*/
} else if (mainNode->type & OP_DOUBLEDEP) {
(void) Lst_AtEnd (main, (ClientData)mainNode);
OpenPOWER on IntegriCloud