summaryrefslogtreecommitdiff
path: root/usr.bin/make/engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/engine.c')
-rw-r--r--usr.bin/make/engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/engine.c b/usr.bin/make/engine.c
index bdb18083521..9bc499edf1e 100644
--- a/usr.bin/make/engine.c
+++ b/usr.bin/make/engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: engine.c,v 1.11 2007/11/03 11:42:41 espie Exp $ */
+/* $OpenBSD: engine.c,v 1.12 2007/11/03 14:05:39 espie Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
* Copyright (c) 1988, 1989 by Adam de Boor
@@ -158,7 +158,7 @@ rewrite_time(const char *name)
}
void
-Job_Touch(GNode *gn, bool silent)
+Job_Touch(GNode *gn)
{
if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL)) {
/*
@@ -168,7 +168,7 @@ Job_Touch(GNode *gn, bool silent)
return;
}
- if (!silent) {
+ if (!(gn->type & OP_SILENT)) {
(void)fprintf(stdout, "touch %s\n", gn->name);
(void)fflush(stdout);
}