aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_sched.c')
-rw-r--r--sys/kern/kern_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index 1100f4a..ddc99ca 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -328,7 +328,7 @@ sched_load_init(void)
if ((init_bin = initramfs_open("/usr/sbin/init")) == NULL)
panic("Could not open /usr/sbin/init\n");
- args.vas = pmap_create_vas(vm_get_ctx());
+ pmap_create_vas(vm_get_ctx(), &args.vas);
args.argp = argv;
args.envp = envp;