diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-12 19:39:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-12 19:39:30 +0000 |
commit | 4b0d5f9205de41d772e5f393123ceafed1c92c6c (patch) | |
tree | 02cf7095c14269f4afd080e7f1331852396e18ee /libs | |
parent | 68b51e15273380e9e3531762124e535f472d90d5 (diff) |
libs/sys: fix call to nixio.uname()
Diffstat (limited to 'libs')
-rw-r--r-- | libs/sys/luasrc/sys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |