Fix bad function type passed to destroy_dev_sched_cb().

Approved by:  re (rwatson)
This commit is contained in:
Peter Wemm 2007-07-05 05:54:47 +00:00
parent b811e070b4
commit 22af4cab91
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171228

View File

@ -214,8 +214,9 @@ pty_new(void)
* remains allocated.
*/
static void
pty_release(struct pt_desc *pt)
pty_release(void *v)
{
struct pt_desc *pt = (struct pt_desc *)v;
mtx_lock(&pt_mtx);
KASSERT(pt->pt_ptc_open == 0 && pt->pt_pts_open == 0,