summaryrefslogtreecommitdiff
path: root/utils/mk/Plan9.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mk/Plan9.c')
-rw-r--r--utils/mk/Plan9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mk/Plan9.c b/utils/mk/Plan9.c
index 66c4d925..46784fb6 100644
--- a/utils/mk/Plan9.c
+++ b/utils/mk/Plan9.c
@@ -316,7 +316,7 @@ chgtime(char *name)
if(access(name, AEXIST) >= 0) {
nulldir(&sbuf);
- sbuf.mtime = time((long *)0);
+ sbuf.mtime = time(0);
return dirwstat(name, &sbuf);
}
return close(create(name, OWRITE, 0666));