diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/procps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 10ddabf94..9f5a4c062 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -226,7 +226,7 @@ procps_status_t* procps_scan(procps_status_t* sp, int flags) | |||
226 | sp->vsz = vsz >> 10; /* vsize is in bytes and we want kb */ | 226 | sp->vsz = vsz >> 10; /* vsize is in bytes and we want kb */ |
227 | sp->rss = rss >> 10; | 227 | sp->rss = rss >> 10; |
228 | sp->tty_major = (tty >> 8) & 0xfff; | 228 | sp->tty_major = (tty >> 8) & 0xfff; |
229 | sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00)); | 229 | sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00); |
230 | #else | 230 | #else |
231 | /* This costs ~100 bytes more but makes top faster by 20% | 231 | /* This costs ~100 bytes more but makes top faster by 20% |
232 | * If you run 10000 processes, this may be important for you */ | 232 | * If you run 10000 processes, this may be important for you */ |