diff options
Diffstat (limited to 'sys/kern/tty_pts.c')
-rw-r--r-- | sys/kern/tty_pts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c index d010ddb..8aff29e 100644 --- a/sys/kern/tty_pts.c +++ b/sys/kern/tty_pts.c @@ -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, |