From 547619d0d39c2ae94c9cf90796a0606b85f82f7f Mon Sep 17 00:00:00 2001 From: deischen Date: Fri, 8 Aug 2003 20:23:10 +0000 Subject: Copyin the thread mailbox flags from the correct location in the mailbox. --- sys/kern/kern_kse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_kse.c') diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 8e16a8a..40a2923 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -1601,7 +1601,7 @@ thread_user_enter(struct proc *p, struct thread *td) } else { if (td->td_standin == NULL) thread_alloc_spare(td, NULL); - tflags = fuword32(tmbx); + tflags = fuword32(&tmbx->tm_flags); /* * On some architectures, TP register points to thread * mailbox but not points to kse mailbox, and userland -- cgit v1.1