aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-14 02:23:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-14 02:23:43 +0000
commit9e617927e057d79ceb2ac4869b18b1e84567dc68 (patch)
tree37b7584ae40b99edb5583fbc4392b62ffdadf278 /procps/top.c
parent6147e0907e5b5e3a07a4c8976097a585faaa3895 (diff)
downloadbusybox-w32-9e617927e057d79ceb2ac4869b18b1e84567dc68.tar.gz
busybox-w32-9e617927e057d79ceb2ac4869b18b1e84567dc68.tar.bz2
busybox-w32-9e617927e057d79ceb2ac4869b18b1e84567dc68.zip
add open_read_close() and similar stuff
git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
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) {