summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-07-15 14:07:42 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-07-15 14:07:42 +0000
commit388ce0bc8d4ed3c140be5ac53ac580c6e59e682d (patch)
tree1f9502068154020710d27901fd77ca8c23cedfa0 /sys/kern/init_main.c
parent307d47ac94351d3f94b416d21552f01131765fc3 (diff)
vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_t
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index d074e984004..d56ed9a12bf 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.38 1999/04/22 19:28:07 art Exp $ */
+/* $OpenBSD: init_main.c,v 1.39 1999/07/15 14:07:41 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -484,7 +484,7 @@ start_init(arg)
void *arg;
{
struct proc *p = arg;
- vm_offset_t addr;
+ vaddr_t addr;
struct sys_execve_args /* {
syscallarg(char *) path;
syscallarg(char **) argp;
@@ -526,7 +526,7 @@ start_init(arg)
!= KERN_SUCCESS)
panic("init: couldn't allocate argument space");
#else
- if (vm_allocate(&p->p_vmspace->vm_map, &addr, (vm_size_t)PAGE_SIZE,
+ if (vm_allocate(&p->p_vmspace->vm_map, &addr, (vsize_t)PAGE_SIZE,
FALSE) != 0)
panic("init: couldn't allocate argument space");
#endif