From: YONETANI Tomokazu Date: Wed, 10 Sep 2008 09:50:09 +0000 (+0000) Subject: missing crit_exit() X-Git-Tag: v2.1.1~443 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/62c46e450e51263456b157d3952c908868d0e473 missing crit_exit() --- diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 0b4b6d8cfc..14b0a3a3c5 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -37,7 +37,7 @@ * * @(#)tty.c 8.8 (Berkeley) 1/21/94 * $FreeBSD: src/sys/kern/tty.c,v 1.129.2.5 2002/03/11 01:32:31 dd Exp $ - * $DragonFly: src/sys/kern/tty.c,v 1.45 2008/08/13 10:30:20 swildner Exp $ + * $DragonFly: src/sys/kern/tty.c,v 1.46 2008/09/10 09:50:09 y0netan1 Exp $ */ /*- @@ -2398,6 +2398,7 @@ ttyinfo(struct tty *tp) if (lp == NULL) { ttyprintf(tp, "foreground process without lwp\n"); tp->t_rocount = 0; + crit_exit(); return; }