|
@@ -795,7 +795,7 @@ static void __init unix98_pty_init(void)
|
|
|
cdev_init(&ptmx_cdev, &ptmx_fops);
|
|
|
if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) ||
|
|
|
register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0)
|
|
|
- panic("Couldn't register /dev/ptmx driver\n");
|
|
|
+ panic("Couldn't register /dev/ptmx driver");
|
|
|
device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx");
|
|
|
}
|
|
|
|