start_init: use 'p'
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
0864ab3d32
commit
8660813153
@ -773,7 +773,7 @@ start_init(void *dummy)
|
||||
*/
|
||||
KASSERT((td->td_pflags & TDP_EXECVMSPC) == 0,
|
||||
("nested execve"));
|
||||
oldvmspace = td->td_proc->p_vmspace;
|
||||
oldvmspace = p->p_vmspace;
|
||||
error = kern_execve(td, &args, NULL, oldvmspace);
|
||||
KASSERT(error != 0,
|
||||
("kern_execve returned success, not EJUSTRETURN"));
|
||||
|
Loading…
Reference in New Issue
Block a user