| Summary: | CONFIG_FEATURE_PS_LONG uses linux-specific sysinfo(2) | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Michael Tokarev <mjt+busybox> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Other | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | proposed patch | ||
|
Description
Michael Tokarev
2012-06-12 16:29:13 UTC
I mean no working -l ofcourse. -w does not work too, in DESKTOP case. Created attachment 4376 [details]
proposed patch
Apparently this whole thing is fsck'd up. This patch at least makes it compilable on freebsd. DESKTOP case is still non-functional. Fixed in git: commit ac42e3de90ebf4b921035893e3670da63cad882c Author: Michael Tokarev <mjt@tls.msk.ru> Date: Wed Jun 13 02:51:56 2012 +0200 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. |