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 00:21:15 +0200
commit724366c038777122e292091b729e7d1e9d52c5cc (patch)
tree2d569662d042143b60d07efa98b0057d5f07d0aa /entropy.lua
parent643ecb02874fd477d68fe01f2d3dd053bf079669 (diff)
downloadvicious-legacy-724366c038777122e292091b729e7d1e9d52c5cc.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