projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14923db
)
remove extra ')'
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 21 Jun 2007 07:09:18 +0000
(07:09 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 21 Jun 2007 07:09:18 +0000
(07:09 -0000)
libbb/procps.c
patch
|
blob
|
history
diff --git
a/libbb/procps.c
b/libbb/procps.c
index 10ddabf9469da8cc8b3e57a1f058edba9b9f4f40..9f5a4c0620d14d3145ca249779820197e31ee071 100644
(file)
--- a/
libbb/procps.c
+++ b/
libbb/procps.c
@@
-226,7
+226,7
@@
procps_status_t* procps_scan(procps_status_t* sp, int flags)
sp->vsz = vsz >> 10; /* vsize is in bytes and we want kb */
sp->rss = rss >> 10;
sp->tty_major = (tty >> 8) & 0xfff;
- sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00)
)
;
+ sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00);
#else
/* This costs ~100 bytes more but makes top faster by 20%
* If you run 10000 processes, this may be important for you */