aboutsummaryrefslogtreecommitdiff
path: root/entropy.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:21:15 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 16:04:35 +0200
commitc2bba8953c42640254ca579278dfdbbc79798caa (patch)
treed63b6a15a689b220b9164af0267b20fe626334d0 /entropy.lua
parent4d869a90dbd476305b09ed87e1614690913e4678 (diff)
downloadvicious-legacy-c2bba8953c42640254ca579278dfdbbc79798caa.tar.xz
Reworked some variables in entropy, load, mpd, net, init
Diffstat (limited to 'entropy.lua')
-rw-r--r--entropy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/entropy.lua b/entropy.lua
index 1c1b8e6..ca7ee85 100644
--- a/entropy.lua
+++ b/entropy.lua
@@ -25,7 +25,7 @@ local function worker(format, poolsize)
f:close()
-- Calculate percentage
- ent_avail_percent = math.ceil(ent_avail * 100 / poolsize)
+ local ent_avail_percent = math.ceil(ent_avail * 100 / poolsize)
return {ent_avail, ent_avail_percent}
end