diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-15 10:10:38 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-15 10:10:38 +0000 |
commit | 0162dc0b99f1ddd418a8bc34a022ebe3c8803693 (patch) | |
tree | 252837b34b0283ad1a28c757b22cfde02a4f8a9e /sys/compat/osf1 | |
parent | 5ddcba9d2355ab2d50df6f406683bf464fafc2cc (diff) |
replace ctob and btoc with ptoa and atop respectively
help and ok miod@ thib@
Diffstat (limited to 'sys/compat/osf1')
-rw-r--r-- | sys/compat/osf1/osf1_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/osf1/osf1_misc.c b/sys/compat/osf1/osf1_misc.c index 00894f90375..e97a714e898 100644 --- a/sys/compat/osf1/osf1_misc.c +++ b/sys/compat/osf1/osf1_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_misc.c,v 1.17 2004/06/25 16:28:51 deraadt Exp $ */ +/* $OpenBSD: osf1_misc.c,v 1.18 2007/09/15 10:10:37 martin Exp $ */ /* $NetBSD: osf1_misc.c,v 1.55 2000/06/28 15:39:33 mrg Exp $ */ /* @@ -132,8 +132,8 @@ osf1_sys_set_program_attributes(p, v, retval) struct osf1_sys_set_program_attributes_args *uap = v; segsz_t tsize, dsize; - tsize = btoc(SCARG(uap, tsize)); - dsize = btoc(SCARG(uap, dsize)); + tsize = atop(SCARG(uap, tsize)); + dsize = atop(SCARG(uap, dsize)); if (dsize > p->p_rlimit[RLIMIT_DATA].rlim_cur) return (ENOMEM); |