summaryrefslogtreecommitdiff
path: root/sys/vm/vm_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_unix.c')
-rw-r--r--sys/vm/vm_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index 6a1a7a21148..4a35e4e3482 100644
--- a/sys/vm/vm_unix.c
+++ b/sys/vm/vm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_unix.c,v 1.9 1998/07/28 00:13:21 millert Exp $ */
+/* $OpenBSD: vm_unix.c,v 1.10 2001/05/05 20:57:04 art Exp $ */
/* $NetBSD: vm_unix.c,v 1.19 1996/02/10 00:08:14 christos Exp $ */
/*
@@ -132,7 +132,7 @@ grow(p, sp)
/*
* Really need to check vs limit and increment stack size if ok.
*/
- si = clrnd(btoc(USRSTACK-sp) - vm->vm_ssize);
+ si = btoc(USRSTACK-sp) - vm->vm_ssize;
if (vm->vm_ssize + si > btoc(p->p_rlimit[RLIMIT_STACK].rlim_cur))
return (0);
vm->vm_ssize += si;