summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index b4ae538b872..44ac0c01018 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.8 2001/01/29 02:07:50 niklas Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.9 2001/05/05 20:57:03 art Exp $ */
/* $NetBSD: uvm_unix.c,v 1.8 1999/03/25 18:48:56 mrg Exp $ */
/*
@@ -155,9 +155,9 @@ uvm_grow(p, sp)
* Really need to check vs limit and increment stack size if ok.
*/
#ifdef MACHINE_STACK_GROWS_UP
- si = clrnd(btoc(sp - USRSTACK) - vm->vm_ssize);
+ si = btoc(sp - USRSTACK) - vm->vm_ssize;
#else
- si = clrnd(btoc(USRSTACK-sp) - vm->vm_ssize);
+ si = btoc(USRSTACK-sp) - vm->vm_ssize;
#endif
if (vm->vm_ssize + si > btoc(p->p_rlimit[RLIMIT_STACK].rlim_cur))
return (0);