summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 680e72c2..dfc6ff68 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1613,7 +1613,7 @@ kern_return_t thread_info(
sched_info->depress_priority = thread->depress_priority;
#if NCPUS > 1
- sched_info->last_processor = thread->last_processor;
+ sched_info->last_processor = thread->last_processor->slot_num;
#else
sched_info->last_processor = 0;
#endif