aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-04-30 03:54:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 11:29:48 -0400
commit86a96538178f923aa1aa43c1e7cfec5951df7f8a (patch)
tree1c94245e9402fbd289b6198faa562fb79f1c46a7
parent24cb233520f01971d6d873cb52c64bbbb0665ac0 (diff)
tty: fix routine name in ptmx_open()
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>
-rw-r--r--drivers/char/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index f69fb8d7a680..ddfa529936e8 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)
2842 if (devpts_pty_new(tty->link)) 2842 if (devpts_pty_new(tty->link))
2843 goto out1; 2843 goto out1;
2844 2844
2845 check_tty_count(tty, "tty_open"); 2845 check_tty_count(tty, "ptmx_open");
2846 retval = ptm_driver->ops->open(tty, filp); 2846 retval = ptm_driver->ops->open(tty, filp);
2847 if (!retval) 2847 if (!retval)
2848 return 0; 2848 return 0;