summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index a7c95bd..123aee8 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -487,8 +487,7 @@ vsize(KINFO *k, VARENT *ve)
VAR *v;
v = ve->var;
- (void)printf("%*d", v->width,
- (k->ki_p->ki_size/1024));
+ (void)printf("%*lu", v->width, (u_long)(k->ki_p->ki_size / 1024));
}
void
OpenPOWER on IntegriCloud