mirror of https://github.com/tidwall/tile38.git
Merge pull request #503 from JordanArmstrong/fix-stats-cpu
Fix fprintf type error in stats_cpu.go for non-linux/darwin builds
This commit is contained in:
commit
981d9ece42
|
@ -13,6 +13,6 @@ func (s *Server) writeInfoCPU(w *bytes.Buffer) {
|
|||
"used_cpu_user:%.2f\r\n"+
|
||||
"used_cpu_sys_children:%.2f\r\n"+
|
||||
"used_cpu_user_children:%.2f\r\n",
|
||||
0, 0, 0, 0,
|
||||
0.0, 0.0, 0.0, 0.0,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue