diff options
| author | sjg <sjg@NetBSD.org> | 2010-08-07 21:28:40 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2010-08-07 21:28:40 +0000 |
| commit | 5bc2a5581887e16e580c9996d2f6d98d445a257a (patch) | |
| tree | d2f7965d0534c82387a56c8f407c11acffb50a4a /usr.bin/make | |
| parent | 2268c393192b1e88fce1dc0904cab60b8c0479d9 (diff) | |
In jobs mode, if we cannot make a target we die without any further
clue. Call PrintOnError() before DieHorribly().
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/job.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index fe5c598a414..e912a6d0b54 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $NetBSD: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $ */ +/* $NetBSD: job.c,v 1.154 2010/08/07 21:28:40 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $"; +static char rcsid[] = "$NetBSD: job.c,v 1.154 2010/08/07 21:28:40 sjg Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $"); +__RCSID("$NetBSD: job.c,v 1.154 2010/08/07 21:28:40 sjg Exp $"); #endif #endif /* not lint */ #endif @@ -1553,6 +1553,7 @@ JobStart(GNode *gn, int flags) * also dead... */ if (!cmdsOK) { + PrintOnError(gn, NULL); /* provide some clue */ DieHorribly(); } |
