diff options
| author | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-03-11 07:51:08 +0000 |
|---|---|---|
| committer | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-03-11 07:51:08 +0000 |
| commit | aa3bf85c54ebf04619bb3a2372e7ba22e1884b4b (patch) | |
| tree | e89af2e0ef5699ab55183e3084f85fedb43b928a | |
| parent | 8862232d7b81f00c2f1fb51c681bf6a764ad5954 (diff) | |
Notes
| -rw-r--r-- | sys/kern/kern_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 37d2ab13175b..be845fc049d2 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -251,7 +251,9 @@ exit1(td, rv) PGRP_UNLOCK(sp->s_ttyp->t_pgrp); } /* XXX tp should be locked. */ + PGRPSESS_XUNLOCK(); (void) ttywait(tp); + PGRPSESS_XLOCK(); /* * The tty could have been revoked * if we blocked. |
