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 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