aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/rusage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/rusage.c')
-rw-r--r--src/blogc/rusage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc/rusage.c b/src/blogc/rusage.c
index 6d88dc4..a38848d 100644
--- a/src/blogc/rusage.c
+++ b/src/blogc/rusage.c
@@ -48,7 +48,7 @@ char*
blogc_rusage_format_cpu_time(long long time)
{
if (time >= 1000000)
- return bc_strdup_printf("%.3s", ((float) time) / 1000000.0);
+ return bc_strdup_printf("%.3fs", ((float) time) / 1000000.0);
// this is a special case: some systems may report the cpu time rounded up to the
// milisecond. it is useless to show ".000" in this case.