Skip to content

Commit

Permalink
tty: fix routine name in ptmx_open()
Browse files Browse the repository at this point in the history
At ptmx_open(), the 2nd parameter for check_tty_count() should
be "ptmx_open".

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Hiroshi Shimamoto authored and Linus Torvalds committed Apr 30, 2008
1 parent 24cb233 commit 86a9653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86a9653

Please sign in to comment.