aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-24 20:35:31 -0400
committerIan Moffett <ian@osmora.org>2024-05-24 20:35:31 -0400
commit32f395140a653e5c7e3e114faeb7314e223f0eea (patch)
tree2a143c01780c88803fdee2f66a6ac59f6dbad88e /sys/kern
parent157edace4ad3f3703e858e4fdea3d77a0b1832e0 (diff)
kernel: vm: Make pmap_create_vas() return int
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-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;