aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 31f2a5113..51f1c1aed 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -677,7 +677,7 @@ static NOINLINE void display_process_list(int lines_rem, int scr_width)
677 if (s->vsz >= 100000) 677 if (s->vsz >= 100000)
678 sprintf(vsz_str_buf, "%6ldm", s->vsz/1024); 678 sprintf(vsz_str_buf, "%6ldm", s->vsz/1024);
679 else 679 else
680 sprintf(vsz_str_buf, "%7ld", s->vsz); 680 sprintf(vsz_str_buf, "%7lu", s->vsz);
681 /* PID PPID USER STAT VSZ %VSZ [%CPU] COMMAND */ 681 /* PID PPID USER STAT VSZ %VSZ [%CPU] COMMAND */
682 col = snprintf(line_buf, scr_width, 682 col = snprintf(line_buf, scr_width,
683 "\n" "%5u%6u %-8.8s %s%s" FMT 683 "\n" "%5u%6u %-8.8s %s%s" FMT