patch-1.3.42 linux/net/netlink.c

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

diff -u --recursive --new-file v1.3.41/linux/net/netlink.c linux/net/netlink.c
@@ -216,8 +216,8 @@
 {
 	int ct;
 
-	if(register_chrdev(NET_MAJOR,"netlink", &netlink_fops)) {
-		printk("netlink: unable to get major %d\n", NET_MAJOR);
+	if(register_chrdev(NETLINK_MAJOR,"netlink", &netlink_fops)) {
+		printk("netlink: unable to get major %d\n", NETLINK_MAJOR);
 		return -EIO;
 	}
 	for(ct=0;ct<MAX_LINKS;ct++)

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