From e8398992222c45fef95332062c6d629f2a1a113e Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 23 Sep 2002 14:06:12 +0000 Subject: Don't use local variable 'p' in a debug statement.. we removed it. --- sys/kern/kern_kse.c | 2 +- sys/kern/kern_thread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern') 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. -- cgit v1.1