diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index ef7425b..f8887ba 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: print.c,v 1.12 1996/05/02 08:37:16 phk Exp $ + * $Id: print.c,v 1.13 1996/05/02 13:06:21 phk Exp $ */ #ifndef lint @@ -575,7 +575,7 @@ getpmem(k) /* XXX want pmap ptpages, segtab, etc. (per architecture) */ szptudot = UPAGES; /* XXX don't have info about shared */ - fracmem = ((float)e->e_vm.vm_rssize + szptudot)/getpagesize()/mempages; + fracmem = ((float)e->e_vm.vm_rssize + szptudot)/mempages; #endif return (100.0 * fracmem); } |