From 32f395140a653e5c7e3e114faeb7314e223f0eea Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 24 May 2024 20:35:31 -0400 Subject: kernel: vm: Make pmap_create_vas() return int Signed-off-by: Ian Moffett --- sys/kern/kern_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern') 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; -- cgit v1.2.3