Don't use local variable 'p' in a debug statement.. we removed it.

This commit is contained in:
Julian Elischer 2002-09-23 14:06:12 +00:00
parent 10b33e6b2c
commit ed32df81e8
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.