Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

stats R: Make the CPU time display less ugly.

  • Loading branch information...
commit e4ce3b5409e55b7966bbb05542d0f15747b7644c 1 parent 294d32b
@jillest jillest authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/m_stats.c
View
2  modules/m_stats.c
@@ -861,7 +861,7 @@ stats_usage (struct Client *source_p)
rup = 1;
sendto_one_numeric(source_p, RPL_STATSDEBUG,
- "R :CPU Secs %d:%d User %d:%d System %d:%d",
+ "R :CPU Secs %d:%02d User %d:%02d System %d:%02d",
(int) (secs / 60), (int) (secs % 60),
(int) (rus.ru_utime.tv_sec / 60),
(int) (rus.ru_utime.tv_sec % 60),
Please sign in to comment.
Something went wrong with that request. Please try again.