diff options
author | Almudena Garcia <liberamenso10000@gmail.com> | 2019-10-31 09:58:33 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-10-31 09:59:17 +0100 |
commit | 7719472e3410d009c89d775ea05dc7f305d9ebce (patch) | |
tree | 335b0f90e7c43756fea220f4e86db654d37483b6 /proc | |
parent | bcfa5c847939cafd165d55313c92fe1a2c5e1a3d (diff) | |
download | hurd-7719472e3410d009c89d775ea05dc7f305d9ebce.tar.gz hurd-7719472e3410d009c89d775ea05dc7f305d9ebce.tar.bz2 hurd-7719472e3410d009c89d775ea05dc7f305d9ebce.zip |
proc: fix filling last_processor member.
proc/info.c (S_proc_getprocinfo): Fix filling last_processor member.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |