From 0da9497fc7abfa5d67ad286253ea01dd13242e0d Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 26 Sep 2002 06:40:04 +0000 Subject: When formatting the time for a target, use %H instead of %k, which is mostly the same, but uses a non-extension option. Sponsored by: Rachel Hestilow --- usr.bin/make/targ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/make') diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index 04611e0..be468bb 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -464,7 +464,7 @@ Targ_FmtTime (time) parts = localtime(&time); - strftime(buf, sizeof buf, "%k:%M:%S %b %d, %Y", parts); + strftime(buf, sizeof buf, "%H:%M:%S %b %d, %Y", parts); buf[sizeof(buf) - 1] = '\0'; return(buf); } -- cgit v1.1