=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/dir.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- src/usr.bin/make/dir.c 2013/04/23 14:32:53 1.62 +++ src/usr.bin/make/dir.c 2013/05/22 12:14:08 1.63 @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.62 2013/04/23 14:32:53 espie Exp $ */ +/* $OpenBSD: dir.c,v 1.63 2013/05/22 12:14:08 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* @@ -570,7 +570,7 @@ * needed, we don't have to fetch it again. */ if (DEBUG(DIR)) printf("Caching %s for %s\n", - time_to_string(mtime), file); + time_to_string(&mtime), file); record_stamp(file, mtime); return file; } else @@ -614,7 +614,8 @@ ts_set_from_stat(stb, mtime); if (DEBUG(DIR)) - printf("Caching %s for %s\n", time_to_string(mtime), q); + printf("Caching %s for %s\n", time_to_string(&mtime), + q); record_stamp(q, mtime); return q; } else { @@ -724,7 +725,7 @@ * actually go to the file system. */ if (DEBUG(DIR)) printf("Using cached time %s for %s\n", - time_to_string(entry->mtime), fullName); + time_to_string(&entry->mtime), fullName); mtime = entry->mtime; free(entry); ohash_remove(&mtimes, slot);