ps/output.c: eliminate one irritating compiler warning

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-06-06 00:00:00 -05:00 committed by Craig Small
parent 4d9e4ac4f6
commit 292a4dd6fa

View File

@ -449,7 +449,7 @@ static int pr_times(char *restrict const outbuf, const proc_t *restrict const pp
unsigned long t; unsigned long t;
setREL1(TIME_ALL) setREL1(TIME_ALL)
t = rSv(TIME_ALL, ull_int, pp); t = rSv(TIME_ALL, ull_int, pp);
return snprintf(outbuf, COLWID, "%u", t); return snprintf(outbuf, COLWID, "%lu", t);
} }
/* HP-UX puts this (I forget, vsz or vsize?) in kB and uses "sz" for pages. /* HP-UX puts this (I forget, vsz or vsize?) in kB and uses "sz" for pages.