summaryrefslogtreecommitdiff
path: root/devel/bmake/files/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/compat.c')
-rw-r--r--devel/bmake/files/compat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/bmake/files/compat.c b/devel/bmake/files/compat.c
index ce5e9abf67d..0b15689a20b 100644
--- a/devel/bmake/files/compat.c
+++ b/devel/bmake/files/compat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: compat.c,v 1.5 2009/09/18 21:27:25 joerg Exp $ */
+/* $NetBSD: compat.c,v 1.6 2010/04/20 13:37:49 joerg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: compat.c,v 1.5 2009/09/18 21:27:25 joerg Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.6 2010/04/20 13:37:49 joerg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: compat.c,v 1.5 2009/09/18 21:27:25 joerg Exp $");
+__RCSID("$NetBSD: compat.c,v 1.6 2010/04/20 13:37:49 joerg Exp $");
#endif
#endif /* not lint */
#endif
@@ -410,7 +410,7 @@ again:
}
fprintf(debug_file, "\n");
}
- fprintf(debug_file, "*** Error code %d", status);
+ printf("*** Error code %d", status);
}
} else {
status = WTERMSIG(reason); /* signaled */
@@ -577,7 +577,7 @@ Compat_Make(void *gnp, void *pgnp)
} else if (keepgoing) {
pgn->flags &= ~REMAKE;
} else {
- PrintOnError("\n\nStop.");
+ PrintOnError(gn, "\n\nStop.");
exit(1);
}
} else if (gn->made == ERROR) {
@@ -668,7 +668,7 @@ Compat_Run(Lst targs)
if (gn != NULL) {
Compat_Make(gn, gn);
if (gn->made == ERROR) {
- PrintOnError("\n\nStop.");
+ PrintOnError(gn, "\n\nStop.");
exit(1);
}
}
@@ -709,7 +709,7 @@ Compat_Run(Lst targs)
if (errors == 0) {
Compat_Make(ENDNode, ENDNode);
if (gn->made == ERROR) {
- PrintOnError("\n\nStop.");
+ PrintOnError(gn, "\n\nStop.");
exit(1);
}
}