projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f91ce2
)
Change to fmt_human in netspeeds on OpenBSD
author
Aaron Marcher
<me@drkhsh.at>
Tue, 22 May 2018 10:21:52 +0000
(12:21 +0200)
committer
Aaron Marcher
<me@drkhsh.at>
Tue, 22 May 2018 10:21:52 +0000
(12:21 +0200)
Thanks to Hiltjo
components/netspeeds.c
patch
|
blob
|
history
diff --git
a/components/netspeeds.c
b/components/netspeeds.c
index 4332024bd22f4737a8c68bdfb7d9379b24fb8458..3c5dabf75c6b7a1aea3c8d4b9ce8899177e3cef2 100644
(file)
--- a/
components/netspeeds.c
+++ b/
components/netspeeds.c
@@
-133,7
+133,7
@@
return NULL;
}
- return fmt_human
_2
((txbytes - oldtxbytes) * 1000 / interval,
+ return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
1024);
}
#endif