summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-14 16:08:06 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-14 16:08:06 +0000
commit1e07f852e0f236a0360c5fd44356a2e391185145 (patch)
tree31c3b8acdfdb573b6c60c0d56786a53c2b43d4df /libbb
parent2d2c868aabdccf46a05d1dd0b1f1ab8503d12c98 (diff)
FEATURE->ENABLE_FEATURE loses one for 'top' applet
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 72f627f15..2f675a544 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -72,7 +72,7 @@ extern procps_status_t * procps_scan(int save_user_arg0)
"%c %d "
"%*s %*s %*s %*s " /* pgrp, session, tty, tpgid */
"%*s %*s %*s %*s %*s " /* flags, min_flt, cmin_flt, maj_flt, cmaj_flt */
-#ifdef FEATURE_CPU_USAGE_PERCENTAGE
+#ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
"%lu %lu "
#else
"%*s %*s "
@@ -83,12 +83,12 @@ extern procps_status_t * procps_scan(int save_user_arg0)
"%*s " /* vsize */
"%ld",
curstatus.state, &curstatus.ppid,
-#ifdef FEATURE_CPU_USAGE_PERCENTAGE
+#ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
&curstatus.utime, &curstatus.stime,
#endif
&tasknice,
&curstatus.rss);
-#ifdef FEATURE_CPU_USAGE_PERCENTAGE
+#ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
if(n != 6)
#else
if(n != 4)