From 4b0d5f9205de41d772e5f393123ceafed1c92c6c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 12 Feb 2011 19:39:30 +0000 Subject: libs/sys: fix call to nixio.uname() --- libs/sys/luasrc/sys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/sys/luasrc/sys.lua') diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 722d5a381d..2819c338e7 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -186,7 +186,7 @@ function sysinfo() cpuinfo:match("machine\t+: ([^\n]+)") or cpuinfo:match("Hardware\t+: ([^\n]+)") or fs.readfile("/proc/diag/model") or - nixio.uname().machine() or + nixio.uname().machine or system return system, model, memtotal, memcached, membuffers, memfree, bogomips -- cgit v1.2.3