diff options
-rw-r--r-- | sys/kern/kern_kse.c | 2 | ||||
-rw-r--r-- | sys/kern/kern_thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 6417f9b..c722498 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -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. diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 6417f9b..c722498 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -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. |