From 7719472e3410d009c89d775ea05dc7f305d9ebce Mon Sep 17 00:00:00 2001 From: Almudena Garcia Date: Thu, 31 Oct 2019 09:58:33 +0100 Subject: proc: fix filling last_processor member. proc/info.c (S_proc_getprocinfo): Fix filling last_processor member. --- proc/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/info.c b/proc/info.c index 2ea2a114..93a18d39 100644 --- a/proc/info.c +++ b/proc/info.c @@ -718,7 +718,7 @@ S_proc_getprocinfo (struct proc *callerp, /* If the structure read doesn't include last_processor field, assume CPU 0. */ if (thcount < 8) - thds[i]->last_processor = 0; + pi->threadinfos[i].pis_si.last_processor = 0; #endif } -- cgit v1.2.3