aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-11 06:40:35 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-11 06:40:35 +0000
commit9ed1bde79c53028910ceae3b67d44935af8e5075 (patch)
tree7a4b87e8fe4e20ebccc763d55b7c311dd6cdc58c /sys
parentb2f9e8b1ee0351adc6687ec4d37b73da73749c98 (diff)
downloadsrc-9ed1bde79c53028910ceae3b67d44935af8e5075.tar.gz
src-9ed1bde79c53028910ceae3b67d44935af8e5075.zip
Fixed type of obreak(). The args struct member name conflicted with
the (better) machine generated one in <sys/sysproto.h>.
Notes
Notes: svn path=/head/; revision=12206
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index a7c922d5d4a2..49b440509faa 100644
--- a/sys/vm/vm_unix.c
+++ b/sys/vm/vm_unix.c
@@ -38,7 +38,7 @@
* from: Utah $Hdr: vm_unix.c 1.1 89/11/07$
*
* @(#)vm_unix.c 8.1 (Berkeley) 6/11/93
- * $Id: vm_unix.c,v 1.5 1995/02/20 17:36:36 davidg Exp $
+ * $Id: vm_unix.c,v 1.6 1995/10/07 19:02:56 davidg Exp $
*/
/*
@@ -53,7 +53,7 @@
#include <vm/swap_pager.h>
struct obreak_args {
- char *nsiz;
+ char *nsize;
};
/* ARGSUSED */
@@ -69,7 +69,7 @@ obreak(p, uap, retval)
register int diff;
old = (vm_offset_t) vm->vm_daddr;
- new = round_page(uap->nsiz);
+ new = round_page(uap->nsize);
if ((int) (new - old) > p->p_rlimit[RLIMIT_DATA].rlim_cur)
return (ENOMEM);
old = round_page(old + ctob(vm->vm_dsize));