summaryrefslogtreecommitdiffhomepage
path: root/libbb/procps.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-16 12:55:29 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-16 12:55:29 +0000
commitf246dc7f57335b01e5e503d14eb4ef0eb28d2f94 (patch)
tree1087a44db7d46fd29cc247e7071d7077e2958b5c /libbb/procps.c
parentc350485b18b95954496e12161a87ee016f2bbb81 (diff)
ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
Diffstat (limited to 'libbb/procps.c')
-rw-r--r--libbb/procps.c6
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)
"%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 ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
+#ifdef CONFIG_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 ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
+#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
&curstatus.utime, &curstatus.stime,
#endif
&tasknice,
&curstatus.rss);
-#ifdef ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
+#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
if(n != 6)
#else
if(n != 4)