aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-01 20:20:37 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-01 20:20:37 +0000
commitf125f45d04958a3f5eeec5380fa06842a64e9078 (patch)
tree26f8642cd9e8cc1c2ca0b75a6b20801863b4e2cf /libbb
parentf0b3fc041f40e2185a14c3b5ff778444c2b98c81 (diff)
downloadbusybox-w32-f125f45d04958a3f5eeec5380fa06842a64e9078.tar.gz
busybox-w32-f125f45d04958a3f5eeec5380fa06842a64e9078.tar.bz2
busybox-w32-f125f45d04958a3f5eeec5380fa06842a64e9078.zip
Unneeded code removed, usused field "unsigned pscpu" removed
git-svn-id: svn://busybox.net/trunk/busybox@16488 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 15a1cf74b..9d73fc4b7 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -36,13 +36,13 @@ procps_status_t * procps_scan(int save_user_arg0)
36 36
37 struct dirent *entry; 37 struct dirent *entry;
38 char *name; 38 char *name;
39 int n;
40 char status[32];
41 char *status_tail;
42 char buf[PROCPS_BUFSIZE]; 39 char buf[PROCPS_BUFSIZE];
40 char status[sizeof("/proc//cmdline") + sizeof(int)*3];
41 char *status_tail;
43 procps_status_t curstatus; 42 procps_status_t curstatus;
44 int pid;
45 long tasknice; 43 long tasknice;
44 int pid;
45 int n;
46 struct stat sb; 46 struct stat sb;
47 47
48 if (!dir) { 48 if (!dir) {