diff options
author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-16 12:55:29 +0000 |
---|---|---|
committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-16 12:55:29 +0000 |
commit | 1b6571358e307aab9938c417c5ce377aa35e858d (patch) | |
tree | 1087a44db7d46fd29cc247e7071d7077e2958b5c /libbb | |
parent | f23a9b01d438650b91edff3a6c0d3371eb70f1b7 (diff) | |
download | busybox-w32-1b6571358e307aab9938c417c5ce377aa35e858d.tar.gz busybox-w32-1b6571358e307aab9938c417c5ce377aa35e858d.tar.bz2 busybox-w32-1b6571358e307aab9938c417c5ce377aa35e858d.zip |
ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
git-svn-id: svn://busybox.net/trunk/busybox@11480 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/procps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 2f675a544..1e9d6869b 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -72,7 +72,7 @@ extern procps_status_t * procps_scan(int save_user_arg0) | |||
72 | "%c %d " | 72 | "%c %d " |
73 | "%*s %*s %*s %*s " /* pgrp, session, tty, tpgid */ | 73 | "%*s %*s %*s %*s " /* pgrp, session, tty, tpgid */ |
74 | "%*s %*s %*s %*s %*s " /* flags, min_flt, cmin_flt, maj_flt, cmaj_flt */ | 74 | "%*s %*s %*s %*s %*s " /* flags, min_flt, cmin_flt, maj_flt, cmaj_flt */ |
75 | #ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE | 75 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE |
76 | "%lu %lu " | 76 | "%lu %lu " |
77 | #else | 77 | #else |
78 | "%*s %*s " | 78 | "%*s %*s " |
@@ -83,12 +83,12 @@ extern procps_status_t * procps_scan(int save_user_arg0) | |||
83 | "%*s " /* vsize */ | 83 | "%*s " /* vsize */ |
84 | "%ld", | 84 | "%ld", |
85 | curstatus.state, &curstatus.ppid, | 85 | curstatus.state, &curstatus.ppid, |
86 | #ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE | 86 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE |
87 | &curstatus.utime, &curstatus.stime, | 87 | &curstatus.utime, &curstatus.stime, |
88 | #endif | 88 | #endif |
89 | &tasknice, | 89 | &tasknice, |
90 | &curstatus.rss); | 90 | &curstatus.rss); |
91 | #ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE | 91 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE |
92 | if(n != 6) | 92 | if(n != 6) |
93 | #else | 93 | #else |
94 | if(n != 4) | 94 | if(n != 4) |