summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-01-31 08:09:37 +0000
committerphk <phk@FreeBSD.org>2006-01-31 08:09:37 +0000
commit8920c8cd7449851a87b664de80046b23913acd5e (patch)
treec10f97f4b4be597b4f0d00da8afd96587ef0fb33 /lib
parent5d37faaea28c2d470d83b2ca5c09cbf863e0eaa7 (diff)
downloadFreeBSD-src-8920c8cd7449851a87b664de80046b23913acd5e.zip
FreeBSD-src-8920c8cd7449851a87b664de80046b23913acd5e.tar.gz
Add missing 's' suffix on alternate rendition of time.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/xprintf_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/xprintf_time.c b/lib/libc/stdio/xprintf_time.c
index b566aa0..f50edc3 100644
--- a/lib/libc/stdio/xprintf_time.c
+++ b/lib/libc/stdio/xprintf_time.c
@@ -99,7 +99,7 @@ __printf_render_time(struct __printf_io *io, const struct printf_info *pi, const
t %= MINUTE;
}
if (t != 0)
- p += sprintf(p, "%jd", t);
+ p += sprintf(p, "%jds", t);
} else {
p += sprintf(p, "%jd", (intmax_t)t);
}
OpenPOWER on IntegriCloud