diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-22 09:57:41 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-22 09:57:41 +0000 |
commit | 4d5f4442c51a6c709703b7cc56b5fd143a46ec69 (patch) | |
tree | 3c03849038fc9e4aa527326b6d63a5e6d88e6c6c /sys/compat | |
parent | 2b06a9b9fda98edfa12a5f5d052640501c31862c (diff) |
replace even more ctob and btoc with ptoa and atop respectively plus
uvm_extern.h where needed
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/hpux/hpux_compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/hpux/hpux_compat.c b/sys/compat/hpux/hpux_compat.c index e08f25d2911..a1c2e0f65b9 100644 --- a/sys/compat/hpux/hpux_compat.c +++ b/sys/compat/hpux/hpux_compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_compat.c,v 1.28 2004/07/09 21:33:44 mickey Exp $ */ +/* $OpenBSD: hpux_compat.c,v 1.29 2007/09/22 09:57:40 martin Exp $ */ /* $NetBSD: hpux_compat.c,v 1.35 1997/05/08 16:19:48 mycroft Exp $ */ /* @@ -489,7 +489,7 @@ hpux_sys_ulimit(p, v, retval) case 3: limp = &p->p_rlimit[RLIMIT_DATA]; - *retval = ctob(p->p_vmspace->vm_tsize) + limp->rlim_max; + *retval = ptoa(p->p_vmspace->vm_tsize) + limp->rlim_max; break; default: |