提交 86a96538 编写于 作者: H Hiroshi Shimamoto 提交者: 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: NHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 24cb2335
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册