aboutsummaryrefslogtreecommitdiff
path: root/entropy.lua
diff options
context:
space:
mode:
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