diff options
author | Cong Ding <dinggnu@gmail.com> | 2013-01-11 23:01:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-16 01:49:36 -0500 |
commit | 82f8c35f86a878a504f92559d631ea03f0f62152 (patch) | |
tree | 106870a98a9386bee731d921d94142a1f06cdd95 /drivers/tty/pty.c | |
parent | 4e18585d51434c28269e625e56a06396d70d0ff2 (diff) |
tty: cleanup the panic message
the "\n" in panic message is excess, so we remove it in tty/pty.c as what it
is used in other places.
Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
-rw-r--r-- | drivers/tty/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index 32d027c303aa..916825f984a9 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c | |||
@@ -795,7 +795,7 @@ static void __init unix98_pty_init(void) | |||
795 | cdev_init(&ptmx_cdev, &ptmx_fops); | 795 | cdev_init(&ptmx_cdev, &ptmx_fops); |
796 | if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || | 796 | if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || |
797 | register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) | 797 | register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) |
798 | panic("Couldn't register /dev/ptmx driver\n"); | 798 | panic("Couldn't register /dev/ptmx driver"); |
799 | device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); | 799 | device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); |
800 | } | 800 | } |
801 | 801 | ||