summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-09-26 06:40:04 +0000
committerjmallett <jmallett@FreeBSD.org>2002-09-26 06:40:04 +0000
commit0da9497fc7abfa5d67ad286253ea01dd13242e0d (patch)
treee0f68c8102786d406fc3a56550240d238363dbd5 /usr.bin/make
parent828f0ba6847ed1a96e5d8d1b28409e18fb4e981e (diff)
downloadFreeBSD-src-0da9497fc7abfa5d67ad286253ea01dd13242e0d.zip
FreeBSD-src-0da9497fc7abfa5d67ad286253ea01dd13242e0d.tar.gz
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 <rachel@jerkcity.com>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/targ.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud