summaryrefslogtreecommitdiff
path: root/multiload/netspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'multiload/netspeed.c')
-rw-r--r--multiload/netspeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/multiload/netspeed.c b/multiload/netspeed.c
index 0b816719..7d46ec7a 100644
--- a/multiload/netspeed.c
+++ b/multiload/netspeed.c
@@ -31,12 +31,12 @@ void netspeed_add(NetSpeed *ns, gulong tx)
ns->states[ns->cur] = tx;
}
-/* Something very similar to g_format_size_for_display() but for rates.
+/* Something very similar to g_format_size() but for rates.
* This should give the same display as in g-s-m */
static char*
format_rate_for_display(guint rate)
{
- char* bytes = g_format_size_for_display(rate);
+ char* bytes = g_format_size(rate);
return g_strdup_printf(_("%s/s"), bytes);
}