From 1e07f852e0f236a0360c5fd44356a2e391185145 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Wed, 14 Sep 2005 16:08:06 +0000 Subject: FEATURE->ENABLE_FEATURE loses one for 'top' applet --- libbb/procps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbb') diff --git a/libbb/procps.c b/libbb/procps.c index 72f627f..2f675a5 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) -- cgit v1.1