patch-2.3.30 linux/net/atm/proc.c

Next file: linux/net/core/dev.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/net/atm/proc.c linux/net/atm/proc.c
@@ -523,7 +523,7 @@
 int __init atm_proc_init(void)
 {
 	struct proc_dir_entry *dev=NULL,*pvc=NULL,*svc=NULL,*arp=NULL,*lec=NULL;
-	atm_proc_root = create_proc_entry("atm", S_IFDIR, &proc_root);
+	atm_proc_root = proc_mkdir("atm", &proc_root);
 	if (!atm_proc_root)
 		return -ENOMEM;
 	dev = create_proc_entry("devices",0,atm_proc_root);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)