From: Jo-Philipp Wich Date: Sat, 12 Feb 2011 19:39:30 +0000 (+0000) Subject: libs/sys: fix call to nixio.uname() X-Git-Tag: 0.11.0~2264 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b0d5f9205de41d772e5f393123ceafed1c92c6c;p=oweals%2Fluci.git libs/sys: fix call to nixio.uname() --- diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 722d5a381..2819c338e 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