From dd539f76877000e333796da8f30ea760c080a69a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 1 Nov 2006 20:20:37 +0000 Subject: Unneeded code removed, usused field "unsigned pscpu" removed --- libbb/procps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbb/procps.c') diff --git a/libbb/procps.c b/libbb/procps.c index 15a1cf7..9d73fc4 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -36,13 +36,13 @@ procps_status_t * procps_scan(int save_user_arg0) struct dirent *entry; char *name; - int n; - char status[32]; - char *status_tail; char buf[PROCPS_BUFSIZE]; + char status[sizeof("/proc//cmdline") + sizeof(int)*3]; + char *status_tail; procps_status_t curstatus; - int pid; long tasknice; + int pid; + int n; struct stat sb; if (!dir) { -- cgit v1.1