diff options
author | Denys Vlasenko | 2012-09-06 12:43:22 +0200 |
---|---|---|
committer | Denys Vlasenko | 2012-09-06 12:43:22 +0200 |
commit | 50157f3decce78d3172314a5f97363faedba565a (patch) | |
tree | 9854882332701ed43af92d5ca806a8aa7bce5761 | |
parent | c4398514385f806e1725685d0fee62dc0eb69b9f (diff) | |
download | busybox-50157f3decce78d3172314a5f97363faedba565a.zip busybox-50157f3decce78d3172314a5f97363faedba565a.tar.gz |
top: fix "last CPU" parsing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/procps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 40587db..295048c 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -425,7 +425,7 @@ procps_status_t* FAST_FUNC procps_scan(procps_status_t* sp, int flags) if (n < 11) continue; /* bogus data, get next /proc/XXX */ # if ENABLE_FEATURE_TOP_SMP_PROCESS - if (n < 11+15) + if (n == 11) sp->last_seen_on_cpu = 0; # endif |