Use the thread we have instead of finding another
that may be the wrong one.
This commit is contained in:
parent
cf11e2a00d
commit
2b4a5a0c2f
@ -195,7 +195,7 @@ exit1(td, rv)
|
|||||||
* Close open files and release open-file table.
|
* Close open files and release open-file table.
|
||||||
* This may block!
|
* This may block!
|
||||||
*/
|
*/
|
||||||
fdfree(&p->p_thread); /* XXXKSE */
|
fdfree(td); /* XXXKSE *//* may not be the one in proc */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove ourself from our leader's peer list and wake our leader.
|
* Remove ourself from our leader's peer list and wake our leader.
|
||||||
|
Loading…
Reference in New Issue
Block a user