Use the thread we have instead of finding another

that may be the wrong one.
This commit is contained in:
julian 2001-10-30 07:15:46 +00:00
parent cf11e2a00d
commit 2b4a5a0c2f

View File

@ -195,7 +195,7 @@ exit1(td, rv)
* Close open files and release open-file table.
* 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.