aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/slip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/slip.c')
-rw-r--r--drivers/net/slip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/slip.c b/drivers/net/slip.c
index 8f7841c0374d..19112712daf0 100644
--- a/drivers/net/slip.c
+++ b/drivers/net/slip.c
@@ -1430,7 +1430,7 @@ static void __exit slip_exit(void)
1430 kfree(slip_devs); 1430 kfree(slip_devs);
1431 slip_devs = NULL; 1431 slip_devs = NULL;
1432 1432
1433 if ((i = tty_register_ldisc(N_SLIP, NULL))) 1433 if ((i = tty_unregister_ldisc(N_SLIP)))
1434 { 1434 {
1435 printk(KERN_ERR "SLIP: can't unregister line discipline (err = %d)\n", i); 1435 printk(KERN_ERR "SLIP: can't unregister line discipline (err = %d)\n", i);
1436 } 1436 }