diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-01 15:14:45 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-01 15:14:45 +0000 |
commit | ff9c8580ac8995be530eab4c4a7d414726aa6a95 (patch) | |
tree | 3f6ca2ec539445c667192bbf61137e4623af2e9d /sys/miscfs/procfs | |
parent | effd251aaf06db3da5b94c1e45ff6e9ecc032f2b (diff) |
replace the machine dependant bytes-to-clicks macro by the MI ptoa()
version for i386
more architectures and ctob() replacement is being worked on
prodded by and ok miod
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r-- | sys/miscfs/procfs/procfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c index 829dcc1bc36..8d5226ff42c 100644 --- a/sys/miscfs/procfs/procfs_vnops.c +++ b/sys/miscfs/procfs/procfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_vnops.c,v 1.40 2007/06/18 08:30:07 jasper Exp $ */ +/* $OpenBSD: procfs_vnops.c,v 1.41 2007/09/01 15:14:44 martin Exp $ */ /* $NetBSD: procfs_vnops.c,v 1.40 1996/03/16 23:52:55 christos Exp $ */ /* @@ -584,7 +584,7 @@ procfs_getattr(void *v) case Pmem: vap->va_bytes = vap->va_size = - ctob(procp->p_vmspace->vm_tsize + + ptoa(procp->p_vmspace->vm_tsize + procp->p_vmspace->vm_dsize + procp->p_vmspace->vm_ssize); break; |