commit | ac42e3de90ebf4b921035893e3670da63cad882c | [log] [tgz] |
---|---|---|
author | Michael Tokarev <mjt@tls.msk.ru> | Wed Jun 13 02:51:56 2012 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jun 13 02:52:28 2012 +0200 |
tree | 3899d08bf7ff6bf43ef657ffa6debdb0fcac2fca | |
parent | 6979325592dd421ae4b02817ac8ac9ba5f362382 [diff] |
ps: use separate get_uptime() and make it work on non-linux too Create get_uptime() function in procps/ps.c, and use it rather than relying on linux-specific sysinfo() inline. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>