diff options
author | deischen <deischen@FreeBSD.org> | 2003-08-08 20:23:10 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-08-08 20:23:10 +0000 |
commit | 547619d0d39c2ae94c9cf90796a0606b85f82f7f (patch) | |
tree | 946e60010433fa5c13a5ef9134c1d007c71a4e4c /sys/kern/kern_thread.c | |
parent | 59b29c0142078eeb87efb3ea85716bec33a1806c (diff) | |
download | FreeBSD-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_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 8e16a8a..40a2923 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.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 |