summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-30 09:37:12 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-30 09:37:12 +0000
commite1d04eba4f966c7f4a02a41d86dfb6e55c2e47a6 (patch)
treeaf77bb718f783b86f8e7a71b5da85b1fa2364bbb /bin
parent968b79e84dbac01e81aa264b4bb141d6b52e9754 (diff)
CLSIZE is 1 on all archs and will go away soon.
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/print.c6
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);
}