diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-30 09:37:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-30 09:37:12 +0000 |
commit | e1d04eba4f966c7f4a02a41d86dfb6e55c2e47a6 (patch) | |
tree | af77bb718f783b86f8e7a71b5da85b1fa2364bbb /bin/ps/print.c | |
parent | 968b79e84dbac01e81aa264b4bb141d6b52e9754 (diff) |
CLSIZE is 1 on all archs and will go away soon.
Diffstat (limited to 'bin/ps/print.c')
-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); } |