diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index f7d0591b5e3..4947eced58d 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.16 2000/06/18 17:59:53 niklas Exp $ */ +/* $OpenBSD: print.c,v 1.17 2001/04/30 09:37:11 art Exp $ */ /* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; #else -static char rcsid[] = "$OpenBSD: print.c,v 1.16 2000/06/18 17:59:53 niklas Exp $"; +static char rcsid[] = "$OpenBSD: print.c,v 1.17 2001/04/30 09:37:11 art Exp $"; #endif #endif /* not lint */ @@ -594,7 +594,7 @@ getpmem(k) /* XXX want pmap ptpages, segtab, etc. (per architecture) */ szptudot = USPACE/getpagesize(); /* XXX don't have info about shared */ - fracmem = ((float)e->e_vm.vm_rssize + szptudot)/CLSIZE/mempages; + fracmem = ((float)e->e_vm.vm_rssize + szptudot)/mempages; return (100.0 * fracmem); } |