summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-08-08 20:23:10 +0000
committerdeischen <deischen@FreeBSD.org>2003-08-08 20:23:10 +0000
commit547619d0d39c2ae94c9cf90796a0606b85f82f7f (patch)
tree946e60010433fa5c13a5ef9134c1d007c71a4e4c /sys/kern/kern_kse.c
parent59b29c0142078eeb87efb3ea85716bec33a1806c (diff)
downloadFreeBSD-src-547619d0d39c2ae94c9cf90796a0606b85f82f7f.zip
FreeBSD-src-547619d0d39c2ae94c9cf90796a0606b85f82f7f.tar.gz
Copyin the thread mailbox flags from the correct location
in the mailbox.
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 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
OpenPOWER on IntegriCloud