Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 21:27:19 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 146561 for review
Message-ID:  <200808032127.m73LRJnL099468@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146561

Change 146561 by ed@ed_flippo on 2008/08/03 21:26:46

	Silly mistake: don't destroy the mutex we're borrowing when
	deallocating the TTY, but our own internal mutex.

Affected files ...

.. //depot/projects/mpsafetty/sys/kern/tty.c#13 edit

Differences ...

==== //depot/projects/mpsafetty/sys/kern/tty.c#13 (text+ko) ====

@@ -904,7 +904,7 @@
 	cv_destroy(&tp->t_bgwait);
 	cv_destroy(&tp->t_dcdwait);
 
-	mtx_destroy(tp->t_mtx);
+	mtx_destroy(&tp->t_mtxobj);
 	ttydevsw_free(tp);
 	free(tp, M_TTY);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808032127.m73LRJnL099468>