summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-28 21:05:48 +0000
committerbde <bde@FreeBSD.org>1998-06-28 21:05:48 +0000
commit48baad5d7e2c5192f1b5dfe59463ab43982ecbb4 (patch)
treee412713fa67940541bde5a420a8c479608e06e82 /bin/ps/print.c
parent7368b18e567d874a8dc559df21600e2ae7f053a1 (diff)
downloadFreeBSD-src-48baad5d7e2c5192f1b5dfe59463ab43982ecbb4.zip
FreeBSD-src-48baad5d7e2c5192f1b5dfe59463ab43982ecbb4.tar.gz
Fixed printf format errors (second round with non-i386 typedefs).
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 2813e9b..97ce8f3 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif
static const char rcsid[] =
- "$Id: print.c,v 1.29 1998/06/28 18:19:13 bde Exp $";
+ "$Id: print.c,v 1.30 1998/06/28 18:26:18 bde Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -429,7 +429,8 @@ rssize(k, ve)
v = ve->var;
/* XXX don't have info about shared */
- (void)printf("%*d", v->width, pgtok(KI_EPROC(k)->e_vm.vm_rssize));
+ (void)printf("%*lu", v->width,
+ (u_long)pgtok(KI_EPROC(k)->e_vm.vm_rssize));
}
void
OpenPOWER on IntegriCloud