patch-2.3.25 linux/net/unix/af_unix.c
Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/sunrpc/stats.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Oct 28 14:34:44 1999
- Orig file:
v2.3.24/linux/net/unix/af_unix.c
- Orig date:
Fri Oct 15 15:25:14 1999
diff -u --recursive --new-file v2.3.24/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -1777,7 +1777,6 @@
#endif
{
struct sk_buff *dummy_skb;
- struct proc_dir_entry *ent;
printk(KERN_INFO "NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.\n");
if (sizeof(struct unix_skb_parms) > sizeof(dummy_skb->cb))
@@ -1791,8 +1790,7 @@
}
sock_register(&unix_family_ops);
#ifdef CONFIG_PROC_FS
- ent = create_proc_entry("net/unix", 0, 0);
- ent->read_proc = unix_read_proc;
+ create_proc_read_entry("net/unix", 0, 0, unix_read_proc, NULL);
#endif
#ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)