aboutsummaryrefslogtreecommitdiff
path: root/dio.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dio.lua')
-rw-r--r--dio.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dio.lua b/dio.lua
index 4e394a4..e77407c 100644
--- a/dio.lua
+++ b/dio.lua
@@ -22,7 +22,7 @@ local disk_usage = {}
local disk_total = {}
-- {{{ Disk I/O widget type
-function worker(format, disk)
+local function worker(format, disk)
-- Get /proc/diskstats
local f = io.open("/proc/diskstats")
local disk_lines = {}