summaryrefslogtreecommitdiff
path: root/multiload/src
diff options
context:
space:
mode:
Diffstat (limited to 'multiload/src')
-rw-r--r--multiload/src/linux-proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/multiload/src/linux-proc.c b/multiload/src/linux-proc.c
index 6059e9e3..e084d4b3 100644
--- a/multiload/src/linux-proc.c
+++ b/multiload/src/linux-proc.c
@@ -114,7 +114,7 @@ GetDiskLoad (int Maximum,
if(first_call)
{
- autoscaler_init(&scaler, 60, 500);
+ autoscaler_init (&scaler, g->speed, 500);
}
read = write = 0;
@@ -378,7 +378,7 @@ GetNet (int Maximum,
if(ticks == 0)
{
- autoscaler_init(&scaler, 60, 501);
+ autoscaler_init (&scaler, g->speed, 501);
}
devices = glibtop_get_netlist(&netlist);