aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-14 02:23:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-14 02:23:43 +0000
commitea62077b850076c4d7dc3cf78ebd1888928c6ddf (patch)
tree37b7584ae40b99edb5583fbc4392b62ffdadf278 /procps/top.c
parent88ca06769028e442bf873b270c176ca0e9f021f8 (diff)
downloadbusybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.gz
busybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.bz2
busybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.zip
add open_read_close() and similar stuff
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 14a3870a1..06a84c90c 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -448,7 +448,7 @@ int top_main(int argc, char **argv)
448 memcpy(top + n, p, sizeof(procps_status_t)); 448 memcpy(top + n, p, sizeof(procps_status_t));
449 } 449 }
450 if (ntop == 0) { 450 if (ntop == 0) {
451 bb_error_msg_and_die("Can't find process info in /proc"); 451 bb_error_msg_and_die("can't find process info in /proc");
452 } 452 }
453#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE 453#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
454 if (!prev_hist_count) { 454 if (!prev_hist_count) {