patch-pre2.0.3 linux/net/socket.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/netrom/nr_subr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.2/linux/net/socket.c linux/net/socket.c
@@ -577,7 +577,7 @@
 
 	if (!(sock = sock_alloc())) 
 	{
-		printk("NET: sys_socket: no more sockets\n");
+		printk(KERN_WARNING "socket: no more sockets\n");
 		return(-ENOSR);	/* Was: EAGAIN, but we are out of
 				   system resources! */
 	}
@@ -754,7 +754,7 @@
 
 	if (!(newsock = sock_alloc())) 
 	{
-		printk("NET: sock_accept: no more sockets\n");
+		printk(KERN_WARNING "accept: no more sockets\n");
 		return(-ENOSR);	/* Was: EAGAIN, but we are out of system
 				   resources! */
 	}
@@ -1397,7 +1397,7 @@
 {
 	int i;
 
-	printk("Swansea University Computer Society NET3.034 for Linux 1.3.77\n");
+	printk(KERN_INFO "Swansea University Computer Society NET3.035 for Linux 2.0\n");
 
 	/*
 	 *	Initialize all address (protocol) families. 

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