aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 37b6a0cdb..a47150ea7 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -450,7 +450,7 @@ static NOINLINE void display_process_list(int count, int scr_width)
450#endif 450#endif
451 451
452 scr_width += 2; /* account for leading '\n' and trailing NUL */ 452 scr_width += 2; /* account for leading '\n' and trailing NUL */
453 /* Ok, all preliminary data is ready, go thru the list */ 453 /* Ok, all preliminary data is ready, go through the list */
454 while (count-- > 0) { 454 while (count-- > 0) {
455 unsigned col; 455 unsigned col;
456 CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift); 456 CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift);