diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index f69fb8d7a680223d56679e7637365c3369713b87..ddfa529936e8a80a42b0b6259ba6d3a330eb5531 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -2842,7 +2842,7 @@ static int ptmx_open(struct inode *inode, struct file *filp) if (devpts_pty_new(tty->link)) goto out1; - check_tty_count(tty, "tty_open"); + check_tty_count(tty, "ptmx_open"); retval = ptm_driver->ops->open(tty, filp); if (!retval) return 0;