summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 10ddabf..9f5a4c0 100644
--- 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 */