From: Hiroshi Shimamoto Date: Wed, 30 Apr 2008 07:54:20 +0000 (-0700) Subject: tty: fix routine name in ptmx_open() X-Git-Tag: v2.6.26-rc1~173 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=86a96538178f923aa1aa43c1e7cfec5951df7f8a;p=linux-2.6-omap-h63xx.git 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 Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index f69fb8d7a68..ddfa529936e 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;