summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r--sys/kern/kern_kse.c2
1 files changed, 1 insertions, 1 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.
OpenPOWER on IntegriCloud