Use the thread we have instead of finding another

that may be the wrong one.
This commit is contained in:
Julian Elischer 2001-10-30 07:15:46 +00:00
parent 8be89d4719
commit 48810023a3

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.