Don't use local variable 'p' in a debug statement.. we removed it.
This commit is contained in:
parent
10b33e6b2c
commit
ed32df81e8
@ -700,7 +700,7 @@ thread_userret(struct thread *td, struct trapframe *frame)
|
||||
* this thead/KSE up to userland.
|
||||
*/
|
||||
CTR3(KTR_PROC, "userret: upcall thread %p (pid %d, %s)",
|
||||
td, p->p_pid, p->p_comm);
|
||||
td, td->td_proc->p_pid, td->td_proc->p_comm);
|
||||
|
||||
/*
|
||||
* Set user context to the UTS.
|
||||
|
@ -700,7 +700,7 @@ thread_userret(struct thread *td, struct trapframe *frame)
|
||||
* this thead/KSE up to userland.
|
||||
*/
|
||||
CTR3(KTR_PROC, "userret: upcall thread %p (pid %d, %s)",
|
||||
td, p->p_pid, p->p_comm);
|
||||
td, td->td_proc->p_pid, td->td_proc->p_comm);
|
||||
|
||||
/*
|
||||
* Set user context to the UTS.
|
||||
|
Loading…
x
Reference in New Issue
Block a user