patch-1.3.46 linux/drivers/net/ppp.c

Next file: linux/drivers/net/slhc.c
Previous file: linux/drivers/net/de4x5.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.45/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -1846,8 +1846,8 @@
 				if (ppp->flags & SC_DEBUG)
 					printk (KERN_DEBUG
 						"ppp_tty_read: no data "
-						"(EWOULDBLOCK)\n");
-				return -EWOULDBLOCK;
+						"(EAGAIN)\n");
+				return -EAGAIN;
 			}
 			current->timeout = 0;
 
@@ -3359,7 +3359,7 @@
 
 		status = register_netdev (dev);
 		if (status == 0) {
-			printk ("registered device %s\n", dev->name);
+			printk (KERN_INFO "registered device %s\n", dev->name);
 			return (ppp);
 		}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this