Skip to content

Commit

Permalink
Merge pull request #503 from JordanArmstrong/fix-stats-cpu
Browse files Browse the repository at this point in the history
Fix fprintf type error in stats_cpu.go for non-linux/darwin builds
  • Loading branch information
tidwall authored Oct 29, 2019
2 parents 90c2474 + 324b3b0 commit 981d9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/stats_cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}

0 comments on commit 981d9ec

Please sign in to comment.