Skip to content
Browse files

ethstat: force arithemtic operations

  • Loading branch information...
1 parent f47fc67 commit 4ff707ecdcec28db3b554332261f4f4c77586872 @falconindy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ethstat
View
2 ethstat
@@ -4,7 +4,7 @@ exec gawk '
function humanize_size(size, count, sizestr) {
count = 1
- while (size > 1024) {
+ while (size + 0 > 1024) {
size /= 1024
count++
}

0 comments on commit 4ff707e

Please sign in to comment.
Something went wrong with that request. Please try again.