commit | cafa3e4f576d92da21c8ee2704de6eaaf493eaec | [log] [tgz] |
---|---|---|
author | Michael Tokarev <mjt@tls.msk.ru> | Wed Jun 13 02:51:56 2012 +0200 |
committer | Tanguy Pruvot <tanguy.pruvot@gmail.com> | Sat Jul 14 00:58:45 2012 +0200 |
tree | 13e3a1dd06144f19d9fbcf56750b5eee88041606 | |
parent | 861292167126c251dedaf63383d8da0e97d7cf72 [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>