summaryrefslogtreecommitdiff
path: root/usr.bin/make/engine.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-09-16 12:09:37 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-09-16 12:09:37 +0000
commit6555d0f34894b30c5995ae2a70e227baddd0ad8b (patch)
treec9f7b180bd3a30b74dba203b0c9f4bc11485ff27 /usr.bin/make/engine.c
parentefd08e944942d0060ea6b889d7eddc409d56eaec (diff)
rename Targ_FmtTime into time_to_string and move it, as it's not related
to target nodes at all (reduces modules inter-dependencies)
Diffstat (limited to 'usr.bin/make/engine.c')
-rw-r--r--usr.bin/make/engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/engine.c b/usr.bin/make/engine.c
index a2ff9aff252..678c353ce0b 100644
--- a/usr.bin/make/engine.c
+++ b/usr.bin/make/engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: engine.c,v 1.1 2007/09/16 10:39:07 espie Exp $ */
+/* $OpenBSD: engine.c,v 1.2 2007/09/16 12:09:36 espie Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
* Copyright (c) 1988, 1989 by Adam de Boor
@@ -398,7 +398,7 @@ Make_OODate(GNode *gn) /* the node to check */
(void)Dir_MTime(gn);
if (DEBUG(MAKE)) {
if (!is_out_of_date(gn->mtime)) {
- printf("modified %s...", Targ_FmtTime(gn->mtime));
+ printf("modified %s...", time_to_string(gn->mtime));
} else {
printf("non-existent...");
}