summaryrefslogtreecommitdiff
path: root/multiload/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-15 02:16:14 +0100
committerVictor Kareh <[email protected]>2020-12-17 07:29:54 -0500
commitc81929efb9f1f26847ae49f8b05ccfa71f6436a9 (patch)
tree1318ab4ad01ec90b98c215be3d9447cec1151934 /multiload/src
parent858a664996894c3e74586db06afa8f8d1ba0121a (diff)
downloadmate-applets-c81929efb9f1f26847ae49f8b05ccfa71f6436a9.tar.bz2
mate-applets-c81929efb9f1f26847ae49f8b05ccfa71f6436a9.tar.xz
multiload: fix interval on autoscaler_init call
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);