diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-10-01 12:10:56 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-10-01 12:10:56 +0000 |
commit | 56fe30b1f14444b0d1b4fa3847a1730d34346c7d (patch) | |
tree | e4de3eb6a7e9c7cc233b712675cd797fa1072bec /sys/compat/svr4 | |
parent | 641bf76b011f19a6e68d429e89a9a8e72a764a72 (diff) |
more btoc -> atop
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index f4ab4ee9b3b..3a46429143e 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_misc.c,v 1.48 2007/09/01 15:14:44 martin Exp $ */ +/* $OpenBSD: svr4_misc.c,v 1.49 2007/10/01 12:10:55 martin Exp $ */ /* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */ /* @@ -693,11 +693,11 @@ svr4_sys_break(p, v, retval) uprintf("sbrk: grow failed, return = %d\n", error); return error; } - vm->vm_dsize += btoc(diff); + vm->vm_dsize += atop(diff); } else if (diff < 0) { diff = -diff; uvm_deallocate(&vm->vm_map, new, diff); - vm->vm_dsize -= btoc(diff); + vm->vm_dsize -= atop(diff); } return 0; } |