aboutsummaryrefslogtreecommitdiff
path: root/cpu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'cpu.lua')
-rw-r--r--cpu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu.lua b/cpu.lua
index c208d2c..5251670 100644
--- a/cpu.lua
+++ b/cpu.lua
@@ -22,7 +22,7 @@ local cpu_total = {}
local cpu_active = {}
-- {{{ CPU widget type
-function worker(format)
+local function worker(format)
-- Get /proc/stat
local f = io.open("/proc/stat")
local cpu_lines = {}