Commit 86a96538 authored by Hiroshi Shimamoto's avatar Hiroshi Shimamoto Committed by Linus Torvalds

tty: fix routine name in ptmx_open()

At ptmx_open(), the 2nd parameter for check_tty_count() should
be "ptmx_open".
Signed-off-by: default avatarHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 24cb2335
...@@ -2842,7 +2842,7 @@ static int ptmx_open(struct inode *inode, struct file *filp) ...@@ -2842,7 +2842,7 @@ static int ptmx_open(struct inode *inode, struct file *filp)
if (devpts_pty_new(tty->link)) if (devpts_pty_new(tty->link))
goto out1; goto out1;
check_tty_count(tty, "tty_open"); check_tty_count(tty, "ptmx_open");
retval = ptm_driver->ops->open(tty, filp); retval = ptm_driver->ops->open(tty, filp);
if (!retval) if (!retval)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment