libs/sys: fix call to nixio.uname()

This commit is contained in:
Jo-Philipp Wich 2011-02-12 19:39:30 +00:00
parent 68b51e1527
commit 4b0d5f9205

View file

@ -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