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

Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.2/linux/net/netlink.c linux/net/netlink.c
@@ -218,7 +218,7 @@
 	int ct;
 
 	if(register_chrdev(NETLINK_MAJOR,"netlink", &netlink_fops)) {
-		printk("netlink: unable to get major %d\n", NETLINK_MAJOR);
+		printk(KERN_ERR "netlink: unable to get major %d\n", NETLINK_MAJOR);
 		return -EIO;
 	}
 	for(ct=0;ct<MAX_LINKS;ct++)
@@ -233,7 +233,7 @@
 
 int init_module(void)
 {
-	printk("Network Kernel/User communications module 0.03\n");
+	printk(KERN_INFO "Network Kernel/User communications module 0.03\n");
 	return init_netlink();
 }
 

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